Description
When the wiki pege format is restructuredtext, TableOfContents macro does not work. (Just write out the following string: "Contents".)
Steps to reproduce
- set default_markup = 'rst'
write some restructuredtext in a wiki page, then use the macro "TableOfContents".
As mentiond before, TableOfContents macro does not work. (Just write out "Contents".)
Example
.. macro:: <<TableOfContents(2)>> ============= AAAAAA ============= hogehoge. BBBBBB ============= hogehoge.
Output:
Component selection
plugin [TableOfContents]
Details
MoinMoin Version |
1.9.7 |
OS and Version |
CentOS release 5.8 (Final) |
Python Version |
Python 2.6.8 |
Server Setup |
Apache + mod_wsgi |
Server Details |
httpd.i386 2.2.3-65.el5.centos, python26-mod_wsgi.i386, 3.3-1.el5 |
Language you are using the wiki in (set in the browser/UserPreferences) |
ja |
Workaround
I found that using the following directive instead, I can workaround this issue...
.. contents::
Discussion
Plan
- Priority:
- Assigned to:
- Status: