Modify ↓
#10763 closed enhancement (fixed)
Add support for tables
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | MarkdownMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Description
The python markdown component has support for certain extensions, e.g. tables. The tables extensions seems to play nicely with the HTML rendering in Trac and it is easy to add it.
Patch
Index: Markdown/macro.py =================================================================== --- Markdown/macro.py (revision 12515) +++ Markdown/macro.py (working copy) @@ -54,7 +54,7 @@ try: from markdown import markdown - return markdown(re.sub(LINK, convert, content)) + return markdown(re.sub(LINK, convert, content), extensions=['tables']) except ImportError: msg = 'Error importing Python Markdown, install it from ' url = 'http://www.freewisdom.org/projects/python-markdown/'
Attachments (0)
Change History (3)
comment:1 Changed 11 years ago by
Owner: | changed from Douglas Clifton to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [13244]) Fixes #10763: (version 0.11.4) Enabled the tables extension. Thanks to Anders Holmberg for the patch.