Nunjucks code snippet not rendered
davidwittenbrink opened this issue · comments
Hi!
First of all: thanks for the amazing course.
I'm currently at Lesson 19 and noticed an inline code snippet that isn't rendered correctly. In this line {{ assetHash }}
is not rendered in the HTML output:
https://github.com/andy-piccalilli/learneleventyfromscratch.com/blob/c11b053c94bc3922a6ccd52e56744d847147ace6/docs/lesson/19.md#L364
My guess is that VuePress tries to interpret {{ assetHash }}
. I don't have any experience with VuePress but I noticed that code snippets are often wrapped in ::: v-pre [ snippet ] :::
blocks. Could it be that this is missing here?
Here is a screenshot of the problem:
I will set up the project and see if I can fix this in a PR if you want.
Ah yes, I threw those v-pre
around in a desperate attempt to get it running. Thanks for the PR—I'll take a look now