We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.eleventy.js
1 parent 6b22381 commit c4e983fCopy full SHA for c4e983f
.eleventy.js
@@ -4,6 +4,7 @@ import dotenv from "dotenv"
4
import { DateTime } from "luxon"
5
import highlight from "highlight.js"
6
import highlightDiff from "highlightjs-code-diff"
7
+import highlightjsLines from "./lib/highlightjs-lines.js"
8
import markdownIt from "markdown-it"
9
import anchor from "markdown-it-anchor"
10
import bracketedSpans from "markdown-it-bracketed-spans"
@@ -17,7 +18,7 @@ dotenv.config()
17
18
19
export default function (eleventyConfig) {
20
const isDevelopment = process.env.NODE_ENV === "development"
- const hljs = highlightDiff(highlight)
21
+ const hljs = highlightjsLines(highlightDiff(highlight))
22
const markdownItConfig = markdownIt({
23
html: true,
24
linkify: true,
0 commit comments