mirror of https://github.com/zulip/zulip.git
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:
parent
dc8bc9e1af
commit
61a33f4c4d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue