Replies: 4 comments
-
Thanks for the suggestion! Previously I actually had a |
Beta Was this translation helpful? Give feedback.
-
Mine is a (very) basic static-site generator that walked a directory structure looking for markdown files and associated template files (a single html file for each directory). Hard-coding the template in to the yaml felt repetitive but I can enforce a standard name for the template and reset the global option for each directory. Appreciate you wanting to keep the code simple so please don't feel pressured (it's easy enough for me to make the current set-up work). Cheers |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation! I'll think more about it. The current overriding mechanism for |
Beta Was this translation helpful? Give feedback.
-
Oh interesting. I should probably explore |
Beta Was this translation helpful? Give feedback.
-
Would it be worth allowing a template to be passed via the
meta
argument ofmark
? I've not thought too hard about this, and you likely have good reason for the current implementation, but I wonder if this would be a nice intermediate step between the yaml header and the global option approaches.Beta Was this translation helpful? Give feedback.
All reactions