Commit Graph

6 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 5f3d7238d9 updated readme, added examples of output and code used to generate it 2023-02-03 02:54:28 +00:00
Robert McGovern 68e3e1bae4 added handling highlighting lines, from single lines, to ranges, to line + range. Could probably do multiple ranges if I edit the regex 2023-02-03 01:51:06 +00:00
Robert McGovern 4bb213e148 work in progress. basic arguments handled in njk and md, need to do liquid and handling lineNumbersStart, highlight lines 2023-02-02 23:46:44 +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