Closed pborenstein closed 1 year ago
Is there any chance we see this merged? Of course after solving the conflicts 😄 @zachleat
I'm looking at using 11ty for my blog which is in infancy. I need a good blog starter - found several 11ty blog starters and zeroed in on one that I liked - but line numbers for examples in my blog is an absolute must. Can we please get this done?
-edit- for now I'll follow instructions in the link above for How to show line numbers and see if I can get that to work.
@JDubbTX I don't think this will ever get merged. I made an alternate version: https://www.npmjs.com/package/@pborenstein/eleventy-md-syntax-highlight
@JDubbTX I don't think this will ever get merged. I made an alternate version: https://www.npmjs.com/package/@pborenstein/eleventy-md-syntax-highlight
@pborenstein Unfortunately, the alternate version doesn't allow a custom language. I'm writing a blog about rpgle language, which isn't one of the prism.js languages. The original plugin has an init callback I was using to define the custom language for rpgle. I would like to 1) define a custom language and 2) use line numbers.
Building on the work of @andeersg in #14.
Requires #23
left as an exercise for the reader: