aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/highlight.pm
Commit message (Collapse)AuthorAge
* highlight: Now adds a span with class highlight-<extension> around ↵Joey Hess2013-02-12
| | | | highlighted content, allowing for language-specific css styling.
* cannot reproduceJoey Hess2011-11-23
|
* Avoid warning message when generating setup file if highlight is not ↵Joey Hess2011-09-05
| | | | | | | | installed. Closes: #637606 There's a nice message if the plugin is loaded and used and highlight is not available, and a nice fallback. So no need for this other warning, which can happen any time all plugins are loaded to generate a setup file.
* Update highlight plugin for highlight api.David Bremner2010-12-29
| | | | | | | | | | | 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.
* highlight: Support new format of filetypes.conf used by version 3.2 of the ↵Joey Hess2010-11-20
| | | | highlight package.
* remove a last that won't workJoey Hess2010-10-25
|
* highlight: Ensure that other, more-specific format plugins, like txt are ↵Joey Hess2010-10-25
| | | | used in preference to this one in case of ties.
* txt: Fix display when used inside a format directive.Joey Hess2010-10-25
| | | | | 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.
* highlight: Make location of highlight's files configurable in setup file to ↵Joey Hess2010-08-30
| | | | allow for nonstandard installations.
* 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 initThemeJoey Hess2009-05-26
| | | | See #530654
* cache highlighters to optimiseJoey Hess2009-05-23
| | | | | | | | 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.
* updateJoey Hess2009-05-23
|
* allow format to use any language supported by highlightJoey Hess2009-05-23
| | | | | | | | | | | 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.
* remove commas in tohighlight listJoey Hess2009-05-23
|
* highlight: New plugin supporting syntax highlighting of pretty much anything.Joey Hess2009-05-22
* debian/control: Add suggests for libhighlight-perl, although that package is not yet created by Debian's highlight source package. (See #529869)