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.
1 parent 7d1fd8a commit ed07ef0Copy full SHA for ed07ef0
website/.eleventy.js
@@ -22,6 +22,9 @@ module.exports = function (eleventyConfig) {
22
const markdownLib = markdownIt(options).disable('code');
23
markdownLib.use(require('markdown-it-anchor'), {
24
level: 2,
25
+ permalink: true,
26
+ permalinkSymbol: '#',
27
+ permalinkClass: 'header-anchor ml-1 text-gray-300 hover:text-black',
28
});
29
30
markdownLib.use(require('markdown-it-footnote'));
website/src/app.pcss
@@ -77,6 +77,10 @@
77
@apply no-underline;
78
}
79
80
+.content a.header-anchor {
81
+ @apply no-underline;
82
+}
83
+
84
.content pre {
85
@apply mb-4 max-w-full overflow-x-auto;
86
tab-size: 4;
0 commit comments