kw
Jan 22, 2014 - 14:30
Can someone explain or point to how you can post highlighted/colored python code easily to this forum in Markdown? I tried using the < pre > and < code > tags, but it did not highlight colors. Thanks!
Can someone explain or point to how you can post highlighted/colored python code easily to this forum in Markdown? I tried using the < pre > and < code > tags, but it did not highlight colors. Thanks!
Like this:
```python
print 'hello world'
```
...which is turned into:
print 'hello world'
(Note that there has to be a blank line before the code block.)