c51ab74d72
By default, look for <!-- slide-attributes: xxxx -->. Whatever 'xxx' is will be added to the section attributes. You can define your own pattern with 'data-attributes'. For instance 'data-attributes="^\s*?-- (.*?)$"': that will be added to the options. The 'attributes' section is removed from the content of the slide, so the final markdown doesn't reflect them. That also means you can add those attributes *anywhere* in the slide But that allows for *any* attribute to be added for a specifc slide, like: - id="plan", for allowing internal link (issue #430) - data-background="#ff0000" - data-transition="fade" You list those attributes on a single line, like - (default): ` <!-- id="plan" data-background="#ff0000" -->` - or, with an alternative data-attributes pattern: ` -- id="plan" data-background="#ff0000"` Again, that line is remove from the final content. |
||
---|---|---|
.. | ||
highlight | ||
leap | ||
markdown | ||
math | ||
multiplex | ||
notes | ||
notes-server | ||
postmessage | ||
print-pdf | ||
remotes | ||
search | ||
zoom-js |