Opened 2 years ago

Closed 20 months ago

Last modified 20 months ago

#10763 closed enhancement (fixed)

Add support for tables

Reported by: holmberg.anders+trachacks@… Owned by: rjollos
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 20 months ago by rjollos

  • Owner changed from dwclifton to rjollos
  • Status changed from new to assigned

comment:2 Changed 20 months ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:3 Changed 20 months ago by rjollos

Great idea. I've documented the change here.

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.