Skip to content
Snippets Groups Projects
  1. Nov 04, 2013
    • VonC's avatar
      Fix bug on data attributes for first vertical slide. · f6445a04
      VonC authored
      The first slide of a vertical stack see some data attributes ignored.
      
      Mainly the data-transition one.
      
      Repeat all data-attributes on the wrapping section element.
      
      Ignore any other attributes (like 'id="xxx"'), in order to not
      mess with internal links (by repeating twice an id).
      f6445a04
    • 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
  2. Oct 28, 2013
  3. Oct 27, 2013
  4. Oct 12, 2013
  5. Sep 29, 2013
  6. Sep 06, 2013
  7. Aug 27, 2013
  8. Aug 24, 2013
  9. Aug 23, 2013
  10. Jul 30, 2013
  11. Jul 23, 2013
  12. Jun 25, 2013
  13. May 01, 2013
  14. Apr 20, 2013
  15. Mar 24, 2013
    • Jakub Holy's avatar
      More verbose error slide (HTTP necessary) · f6487dc3
      Jakub Holy authored
      f6487dc3
    • Jakub Holy's avatar
      Better error reporting for external Markdown files · 8fd28a91
      Jakub Holy authored
      1. Show an alert when loading the file throws an exception
      2. Whenever the status isn't success (2xx) - upon exception or e.g.
        "file not found" - replace the section's content with information
        about the failure (instead of being silent about it and showing
        a blank slide).
      
      We need to inform the user something went wrong, not just be silent
      about it. An experienced developer, upon seing a blank slide, will
      likely check the javascript console - but the rest will profit from
      being told about the problem (and solution) explicitely.
      8fd28a91
  16. Mar 01, 2013
  17. Feb 26, 2013
  18. Jan 29, 2013
  19. Nov 16, 2012
  20. Oct 28, 2012
  21. Oct 08, 2012
  22. Sep 28, 2012
  23. Aug 04, 2012
  24. Aug 01, 2012
  25. Jul 31, 2012
Loading