bugdown: Disable line numbering of code blocks

Pygments renders these using tables, which breaks our client's assumptions
about what <tr>s mean.

(imported from commit 46d37395785e06fb183d17b08afed4c6f5957baa)
This commit is contained in:
Keegan McAllister 2012-10-19 23:44:39 -04:00
parent dc8bc9e1af
commit 61a33f4c4d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def convert(md):
safe_mode = 'escape',
output_format = 'xhtml',
extensions = ['fenced_code', 'nl2br',
codehilite.makeExtension(),
codehilite.makeExtension(configs=[('force_linenos', False)]),
Bugdown()])
md = _link_regex.sub(_linkify, md)