John MacFarlane
John MacFarlane
+++ ickc [Nov 10 16 19:43 ]: > I'm working on some kind of markdown-variants-cheatsheets in > [1]ickc/markdown-variants, part of what needed to be done is tabulate > the extensions...
A more consistent format would be ``` {#lalune} ``` See the current attribute format for headers.
It's hard to say in the abstract. If you make a concrete proposal I'd take a look. In general, there comes a point where saying "just use a custom template"...
Seems like a good idea to me. Do any other context users have comments?
Yes, that can work -- if the variable `subtitle` is empty, this section will be skipped.
Oh, I misunderstood what you were trying to do. What you want is a template partial. See the documentation for instructions. You can't do this via header-includes, but you can...
You can put variables (which the user can set) inside the partial. The partial can be set up so that it does nothing at all unless a variable is set.
Pandoc will throw an error if the partial doesn't exist, yes.
Well, you can define a partial for this part, say titleblock.context. This could go in the `data/templates` directory and the context template could refer to it (see `styles.html` for an...
It wouldn't be exactly like `-H`, because it would just say "use this partial IF the template calls for a partial with this name." It wouldn't cause anything to be...