1
0
Fork 0
why-cant-we-deploy-today/plugin
VonC c51ab74d72 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.
2013-11-04 16:31:15 +01:00
..
highlight Allow override of HTML escaping in code blocks 2013-05-05 16:19:08 +02:00
leap move leap styles to js #554 2013-08-11 16:37:17 -04:00
markdown Add attributes in markdown for slide generation. 2013-11-04 16:31:15 +01:00
math rename math plugin config option 2013-08-18 14:13:55 -04:00
multiplex update comment 2013-09-15 11:52:40 -04:00
notes configure notes presentation through query string to avoid flicker 2013-10-22 09:21:49 -04:00
notes-server semi-correction #470 2013-06-09 19:17:31 +02:00
postmessage cosmetical tweaks to postmessage plugin 2012-11-10 17:15:11 -05:00
print-pdf update phanomjs pdf printing to work with latest pdf css 2013-06-18 21:55:23 -04:00
remotes serve remotes js from s3 #611 2013-09-19 23:36:39 -04:00
search merge search plugin, adjust styles 2013-03-08 19:48:30 -05:00
zoom-js disable zoom plugin while in overview mode 2013-02-03 13:21:42 -05:00