#60917 closed enhancement (fixed)
Enable reStructuredText in Trac
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | trac | Version: | |
Keywords: | Cc: | ||
Port: |
Description
Can reStructuredText support be enabled in our Trac installation?
Its table syntax might be preferable to Trac's builtin syntax in some cases, like on wiki:Mirrors where row spanning isn't working quite right.
Change History (5)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 4 years ago by neverpanic (Clemens Lang)
Owner: | changed from admin@… to neverpanic |
---|---|
Status: | new → accepted |
comment:3 Changed 4 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Thanks.
I wish that tables created with WikiRestructuredText:
rST | table |
would have the same default appearance as tables created with WikiFormatting:
wiki | table |
rST tables get the class "docutils" while other tables get the class "wiki". Is there any configuration option where they would both get the same class?
Also, rST tables are inside two unnecessary divs as compared with wiki tables, one of which causes undesired indentation. I don't suppose there's any way to avoid those divs...
comment:5 Changed 4 years ago by neverpanic (Clemens Lang)
There's no simple way for us to avoid the divs. As for the formatting, I guess we could ship additional CSS that would adapt the formatting to match. I have not looked into how this would be done for trac. It may be possible to add the required rules to /chrome/site/style.css.
Here's an example which currently renders the source but should render a table if rst were enabled: