File: fenced_code_blocks_syntax_highlighting.text

package info (click to toggle)
python-markdown2 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,492 kB
  • sloc: python: 6,201; perl: 1,493; php: 865; makefile: 37
file content (14 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
```python
if True:
    print "hi"
```

That's using the *fenced-code-blocks* extra with Python
syntax coloring, if `pygments` is installed. See
<http://github.github.com/github-flavored-markdown/>.

```ruby
def foo
    puts "hi"
end
```