summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/mdwn.pm
AgeCommit message (Collapse)Author
2008-08-03add plugin safe/rebuild info (part 1 of 2)Joey Hess
too many plugins.. brain exploding..
2008-07-26remove default values in getsetupJoey Hess
They were a bit confusing, since they did not actually set the default, and example values are sufficient.
2008-07-26turn booleans into questionsJoey Hess
2008-07-25add getsetupJoey Hess
Also, avoid dying with a fatal error if multimarkdown is enabled and the module doesh't load.
2008-05-13mdwn: Add a multimarkdown setup file option.Joey Hess
2008-03-04test for Text::Markdown::[Mm]arkdown and use the available oneJoey Hess
Markdown is such a splintered mess.. The current debian package provides only Text::Markdown::Markdown, while all versions of Text::Markdown support Text::Markdown::markdown, and old versions also support the capitalised version, while new ones don't. It's getting to the point where `grep /markdown/i %symbol_table` is the only sane way to figure out what function to call..
2008-03-04* Use Text::Markdown::markdown, since version 1.0.16 of Text::MarkdownJoey Hess
no longer supports Text::Markdown::Markdown. All old versions of Text::Markdown also support the lower-case version.
2008-01-09not only markdown adds gunk, so remove it in the main htmlize functionJoey Hess
2008-01-09* mdwn: When htmlizing text, if it's a single line with no newline,Joey Hess
remove the enclosing paragraph and newline markdown wraps it in. This allows removing several hacks around this markdown behavior from other plugins that htmlize fragements of pages.
2007-11-27* Improve workaround for perl bug #376329. Rather than double-encoding,Joey Hess
which has been reported to cause encoding problems (though I haven't reproduced them), just catch a failure of markdown, and retry. (The crazy perl bug magically disappears on the retry.) Closes: #449379
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
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.
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-09-16oops...joey
2006-09-16* Support Text::Markdown from CPAN, which has a different interface fromjoey
the original markdown or the one in Debian.
2006-09-16* Deal with CPAN installing Markdown as Text::Markdown, while it's joey
installed as just Markdown by apt.
2006-09-09* Work on firming up the plugin interface:joey
- 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.
2006-08-28* Change htmlize, format, and sanitize hooks to use named parameters.joey
2006-08-10* Improve markdown loading. First, try to load it as a properl perl module,joey
in case it was installed as one. Then fall back to trying /usr/bin/markdown. * Document in install page how to install markdown, since it has no installation procedure in the upstream tarball.
2006-08-10* Display an error message if /usr/bin/markdown can't be loaded.joey
2006-07-03* Support htmlize plugins and make mdwn one such plugin, which is enabled byjoey
default (of course!). Based on a patch by Faidon Liambotis.