Skip to content
Snippets Groups Projects
  1. Nov 04, 2013
    • VonC's avatar
      Add attributes in markdown for slide generation. · c51ab74d
      VonC authored
      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.
      c51ab74d
    • Hakim El Hattab's avatar
      7da98d81
  2. Nov 01, 2013
  3. Oct 30, 2013
  4. Oct 28, 2013
  5. Oct 27, 2013
  6. Oct 24, 2013
  7. Oct 22, 2013
  8. Oct 19, 2013
  9. Oct 18, 2013
  10. Oct 17, 2013
Loading