Open schickling opened 2 years ago
I wonder if we could come up with a more generic way to solve similar problems? This syntax is similar to other template languages — Liquid, Nunjucks, etc.
11ty has a concept of markdownTemplateEngine
that adds a template language processor on top of markdown. Maybe it's something like that? But maybe instead of doing something so opinionated, we find a way to open it up?
Or do we solve with documentation/examples for now?
I was wondering how to square these two.
The primary use case for me was having access to functions like
import { allFoos } from 'contentlayer/generated'
so I could generate dynamic navigation.
@schickling let me know how I can support you in this effort. Feel free to DM/email/text me to set up a time to chat if you want, too.
https://markdoc.io