From 33a7f79a95c0ab61e177784405ba630776c6b821 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Fri, 3 Feb 2023 03:37:02 +0000 Subject: [PATCH] added thanks to README, oops --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8347cb4..679d735 100644 --- a/README.md +++ b/README.md @@ -102,4 +102,14 @@ let multilineString = ` ``` ```` -![](./images/highlight-range-with-line-numbers-arbitary-start-number.png) \ No newline at end of file +![](./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. \ No newline at end of file