mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
7d0436d210
When using html pre/code tags to wrap github's fenced code block syntax, showdown would parsed them instead of treating them like plain code. Closes #229
264 B
264 B
```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
```python
s = "Python syntax highlighting"
print s
```
```
No language indicated, so no syntax highlighting.
But let's throw in a tag.
```