summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/highlight.pm
AgeCommit message (Collapse)Author
2010-11-20highlight: Support new format of filetypes.conf used by version 3.2 of the ↵Joey Hess
highlight package.
2010-10-25remove a last that won't workJoey Hess
2010-10-25highlight: Ensure that other, more-specific format plugins, like txt are ↵Joey Hess
used in preference to this one in case of ties.
2010-10-25txt: Fix display when used inside a format directive.Joey Hess
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.
2010-08-30highlight: Make location of highlight's files configurable in setup file to ↵Joey Hess
allow for nonstandard installations.
2010-02-24catch failure to open the filetypes fileJoey Hess
2010-02-12format plugin categorizationJoey Hess
2009-07-07highlight: Fix utf-8 encoding bug. Closes: #535028Joey Hess
2009-05-26call initLanguage after initThemeJoey Hess
See #530654
2009-05-23cache highlighters to optimiseJoey Hess
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.
2009-05-23updateJoey Hess
2009-05-23allow format to use any language supported by highlightJoey Hess
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.
2009-05-23remove commas in tohighlight listJoey Hess
2009-05-22highlight: New plugin supporting syntax highlighting of pretty much anything.Joey Hess
* debian/control: Add suggests for libhighlight-perl, although that package is not yet created by Debian's highlight source package. (See #529869)