Is there any way to set custom page variables in stackedit? The use case is that I want to add specific body tag classes to different files upon publication.
Here’s my attempt that didn’t work:
within File Properties > YAML Properties:
body-class: post
extensions:
preset: ‘’
And within the the Stackedit template:
<body class=“stackedit {{files.0.body-class}} test>
{{{files.0.content.html}}}
I also tried this in the Stackedit template:
<body class=“stackedit {{page.body-class}} test”>
{{{files.0.content.html}}}
<body>
But the body-class didn’t appear in stackedit’s html output.