Skip to content

HTML API

Ondřej Žára edited this page Jun 4, 2013 · 5 revisions

These HTML/CSS markup bits are automatically recognized:

  • .slide defines one slide
  • .section defines a sub-section
  • .sections marks all direct descendants as sections
  • .current is added to currently displayed slide and currently displayed section
  • .after is added to all sections which were not displayed yet
  • code.block specifies a block-level code example
  • [lang=xy] defines a text written in a certain language (used by the Language module)
  • [data-syntax=xy] defines a code sample with a given language (used by the Syntax module)
Clone this wiki locally