Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10763 closed enhancement (fixed)

Add support for tables

Reported by: holmberg.anders+trachacks@… Owned by: Ryan J Ollos
Priority: normal Component: MarkdownMacro
Severity: normal Keywords:
Cc: Trac Release:



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.


Index: Markdown/
--- Markdown/	(revision 12515)
+++ Markdown/	(working copy)
@@ -54,7 +54,7 @@
             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 = ''

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by Ryan J Ollos

Owner: changed from Douglas Clifton to Ryan J Ollos
Status: newassigned

comment:2 Changed 11 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [13244]) Fixes #10763: (version 0.11.4) Enabled the tables extension. Thanks to Anders Holmberg for the patch.

comment:3 Changed 11 years ago by Ryan J Ollos

Great idea. I've documented the change here.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.