added thanks to README, oops
This commit is contained in:
parent
a3d356c512
commit
33a7f79a95
12
README.md
12
README.md
|
@ -102,4 +102,14 @@ let multilineString = `
|
||||||
```
|
```
|
||||||
````
|
````
|
||||||
|
|
||||||
![](./images/highlight-range-with-line-numbers-arbitary-start-number.png)
|
![](./images/highlight-range-with-line-numbers-arbitary-start-number.png)
|
||||||
|
|
||||||
|
## Thanks
|
||||||
|
|
||||||
|
I am stepping on the shoulders of others.
|
||||||
|
|
||||||
|
This plugin is based off of the official [eleventy-plugin-syntaxhighlight](https://github.com/11ty/eleventy-plugin-syntaxhighlight) plugin by Zach Leatherman et al. I modified its code to work with the Chroma highlighter.
|
||||||
|
|
||||||
|
I pull in the [chroma-highlight](https://github.com/krymel/chroma-highlight) NPM package by krymel. It downloads the Chroma highlighter binary for the platform you are on, and makes it available through a function to call where you pass in the formatter to use, the language, and any options.
|
||||||
|
|
||||||
|
Finally the [Chroma Highlighter](https://github.com/alecthomas/chroma) itself, by Alec Thomas. Tons of languages, themes, and its blazing fast.
|
Loading…
Reference in New Issue