aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin/math
diff options
context:
space:
mode:
authorVonC2013-10-10 08:47:32 +0200
committerVonC2013-11-04 16:31:15 +0100
commitc51ab74d7293642b2b8d5267b9355df6c45e0102 (patch)
tree9004cc3372b968f70583fe59cccb939e80fa35bc /plugin/math
parent7da98d81107ca6a4fbee45a19f1d5b5e3d31db11 (diff)
Add attributes in markdown for slide generation.
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.
Diffstat (limited to 'plugin/math')
0 files changed, 0 insertions, 0 deletions