 Implement {{toc}} as a macro
Implement {{toc}} as a macro
Added by Anonymous over 15 years ago
Hi,
With the different formatters (Markdown, Markdown_Extra etc.), is it possible to implement the {{toc}} as a macro instead of built into the core wiki parser?  I've gotten the other macros to work (like the wiki_extensions) but this {{toc}} only "looks like" a macro but isn't really one (the other macros 
such as 
Error executing the child_pages macro (With no argument, this macro can be called from wiki pages only)
 work with Markdown_Extra.
	I've confirmed the {{toc}} works when I switch back to the "none" format.
Two questions:
1) How do I go about implementing this (don't really know much ruby)
2) Is it possible to get the {{toc}} macro back when using the Markdown_Extra formatter?
Thanks,
Chris