highlightSpans only works with specific languages?
ratnanil opened this issue · 0 comments
ratnanil commented
I'm trying to use highlightSpans with bash
and python
, but it only seems to work with ruby
(I've yet only tested the three mentioned languages).
see also: http://jsfiddle.net/uwa6drht/4/
my code:
html:
<textarea id="source">
### Testing `highlightSpans` with different code blocks
code block with `ruby`:
```ruby
`foo` bar
```
code block with `bash`:
```bash
`foo` bar
```
code block with `python`:
```python
`foo` bar
```
code block without specification:
```
`foo` bar
```
</textarea>
js:
var slideshow = remark.create({
highlightSpans: true
});