X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/51ec7e4655f891de167e8e112e7599505ef4438a..7b28deb171455a207e536b8abebbca67242a4588:/doc/plugins/toc/discussion.mdwn diff --git a/doc/plugins/toc/discussion.mdwn b/doc/plugins/toc/discussion.mdwn index 3d4c2b149..a09ae5703 100644 --- a/doc/plugins/toc/discussion.mdwn +++ b/doc/plugins/toc/discussion.mdwn @@ -1 +1,10 @@ -If you are using the sidebar plugin and have a header in the sidebar it shows up in the table of contents. I can see why this happens but it surprised me and wasn't the desired effect in my specific situation. -- [[AdamShand]] \ No newline at end of file +If you are using the sidebar plugin and have a header in the sidebar it shows up in the table of contents. I can see why this happens but it surprised me and wasn't the desired effect in my specific situation. -- [[AdamShand]] + +A related side effect: If you use any sort of headers in the page +template (such as placing the page title in an `

`), the toc plugin +picks it up. I suppose it parses the entire page rather than just the +rendered content. --[[JasonBlevins]] + +Why doesn't the TOC appear in the edit page preview? It only appears when the page is finally rendered. This makes it somewhat difficult to organize headings, saving & re-editing all the time. My user page currently has a toc to play with: --[[sabr]] + +> Fixed. --[[Joey]]