aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/toc.pm
Commit message (Collapse)AuthorAge
* use heading identifiers in TOC linksAntoine Beaupré2017-05-16
| | | | | | | | | | | reasoning: if headings have identifiers, they are probably more useful anchors than the automatically generated anchors we build in the toc plugin. this can happen if, for example, you use the `multimarkdown` plugin, which inserts `id` tags for every header it encounters. this also leverages the `headinganchors` plugin nicely. keeps backwards-compatibility with old toc-generated #indexXhY anchors.
* setup file orderingJoey Hess2010-02-12
|
* toc: Add startlevel parameter. (kerravonsen)Joey Hess2009-12-25
|
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
|
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* add plugin safe/rebuild info (part 3 of 3)Joey Hess2008-08-03
|
* call format hooks when generating page previewsJoey Hess2008-06-28
| | | | | | | | | | | | * toc: Revert change in 2.45 that made it run at sanitize time. This breaks use of toc in a sidebar. * Call format hooks when generating page previews, thus fixing toc display there, as well as fixing inlins to again display in page previews, since it's started using format hooks. This also allows several other things, like embed, that use format hooks, to work during page preview time. * Format hooks should not rely on getting an entire html document, as they will only get the body during page preview. * toggle: Deal with preview mode when adding javascript.
* toc: Add the table of contents at sanitize time, rather than at format time. ↵Joey Hess2008-04-26
| | | | This allows the toc to be displayed when previewing an edit. It also avoids headers in the page template from showing up in the toc.
* * toc: Handle html elements embedded inside a header, rather thanJoey Hess2007-11-23
| | | | stopping collecting the header text at the first element.
* * The toc directive doesn't work well or make sense inside an inlined page.joey2007-08-11
| | | | Disable it when the page with the toc is nested inside another page.
* * Make the toc plugin use html-compatible anchors. This is necessary sincejoey2007-07-08
| | | | | | most web sites serve ikiwiki xhtml files as text/html and mozilla browsers get confused. So it's best for ikiwiki to follow the compatability recommendations in appendix C of the XHTML spec. Closes: #432045
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
* * Work on firming up the plugin interface:joey2006-09-09
| | | | | | | | | | | | | | | | | | | - Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
* * Change htmlize, format, and sanitize hooks to use named parameters.joey2006-08-28
|
* * Add toc (table of contents) plugin.joey2006-08-28