Post about upgrading tyres and tubes on my bike
Build and copy to prod / build-and-copy (push) Successful in 2m16s

This commit is contained in:
Lewis Dale committed 2024-06-28 11:28:02 +01:00
1 parent 48ddda3713
commit 2ca3d93ef9
5 files changed
+59 -6

No files matched your search

+2 -2
View File
@@ -51,6 +51,7 @@ const markdownLib = markdownIt({
.use(markdownItFootnote)
.use(markdownitMark)
.use(markdownitAbbr)
.use(markdownItCallouts)
.use(markdownItEleventyImg, {
imgOptions: {
widths: [300, 600, 1000, 1440],
@@ -65,8 +66,7 @@ const markdownLib = markdownIt({
(max-width: 1440px) 1440px,
100%`
}
})
.use(markdownItCallouts);
});
markdownLib.renderer.rules.emoji = function(token, idx) {
return `<span class="fa-li"><i class="fa-solid fa-${token[idx].markup}" aria-hidden="true"></i></span>`;