Commit Graph

4 Commits

Author SHA1 Message Date
Robert McGovern cc6e7e2436 Added support for tabWidth and highlightStyle
Also updated readme and removed some defaults from .eleventy.js. Simplified HighlightPairedShortcode to just mardownSyntaxHighlightOptions (should probably rename file). Finally updated package.json
2023-02-11 00:36:15 +00:00
Robert McGovern ad0c998819 Added pre/code attribute support
Added pre/code attribute support. Simplified code so `markdownSyntaxHighlightOptions` is used for Liquid files. Updated readme, including information about performance. Added "bench" and "debug" to package.json
2023-02-06 14:45:32 +00:00
Robert McGovern 0f05a6abeb Added option for lexer overrides
As Chroma doesn't support liquid or njk as languages, I have added an lexerOverride option so you can specify a different lexer to use instead of the language specified.
2023-02-04 17:33:25 +00:00
Robert McGovern c40be6836a base files from eleventy-plugin-syntaxhighlight-4.2.0 and chromahighlight npm package as dependency 2023-02-02 14:36:15 +00:00