Skip to content

Instantly share code, notes, and snippets.

@5t3ph
Created January 21, 2022 14:40
Show Gist options
  • Save 5t3ph/859b21a505bb67dd6ccfe1666158f928 to your computer and use it in GitHub Desktop.
Save 5t3ph/859b21a505bb67dd6ccfe1666158f928 to your computer and use it in GitHub Desktop.
const HighlightPairedShortcode = require("@11ty/eleventy-plugin-syntaxhighlight/src/HighlightPairedShortcode");
const highlightCodeDemo = (code, lang) => {
const highlightedCode = HighlightPairedShortcode(code, lang);
return highlightedCode;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment