aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/highlight.pm
Commit message (Expand)AuthorAge
* Update highlight plugin for highlight api.•••Note that in particular calling initTheme with and empty file does not work anymore. use of initLanguage was replaced by loadLanguage, which seems to work in both places. I tried to make it a bit more robust against missing a highlight package. There are lots of warnings, but it no longer crashes. David Bremner2010-12-29
* highlight: Support new format of filetypes.conf used by version 3.2 of the hi...Joey Hess2010-11-20
* remove a last that won't workJoey Hess2010-10-25
* highlight: Ensure that other, more-specific format plugins, like txt are used...Joey Hess2010-10-25
* txt: Fix display when used inside a format directive.•••txt's use of a format hook can't work in that case, so it needs to use a htmlizeformat hook in this case to handle wrapping the text in pre tags. Joey Hess2010-10-25
* highlight: Make location of highlight's files configurable in setup file to a...Joey Hess2010-08-30
* catch failure to open the filetypes fileJoey Hess2010-02-24
* format plugin categorizationJoey Hess2010-02-12
* highlight: Fix utf-8 encoding bug. Closes: #535028Joey Hess2009-07-07
* call initLanguage after initTheme•••See #530654 Joey Hess2009-05-26
* cache highlighters to optimise•••Setting up a new highlighter object is slightly expensive since it reads and parses the langfile each time. So cache them. This also speeds up ext2langfile by avoiding it needing to check for the existence of a language file in some cases. Joey Hess2009-05-23
* updateJoey Hess2009-05-23
* allow format to use any language supported by highlight•••format: Provide a htmlizefallback hook that other plugins can use to handle formats that are not suitable for general-purpose htmlize hooks. highlight: Use the hook to allow formatting of any language/extension, without it needing to be enabled for standalone source files. highlight: If the highlight perl binding is not available, fallback safely to a passthrough mode. Joey Hess2009-05-23
* remove commas in tohighlight listJoey Hess2009-05-23
* highlight: New plugin supporting syntax highlighting of pretty much anything.•••* debian/control: Add suggests for libhighlight-perl, although that package is not yet created by Debian's highlight source package. (See #529869) Joey Hess2009-05-22