Skip to content
Snippets Groups Projects
  1. Nov 27, 2014
  2. Nov 26, 2014
    • Raniere Silva's avatar
      Small improve at tools/blockquote2div.py · 71623dcc
      Raniere Silva authored
      - Use UPPERCASE for global constants
      - Add Learning Objectives to SPECIAL_TITLES
      - Fix samples
      71623dcc
    • Aaron O'Leary's avatar
      trigger prereqs class with title · 10332276
      Aaron O'Leary authored
      Previously, Div creation was triggered by a Blockquote that began with a
      header that contained a single class that was in a list of special
      classes.
      
      Now, Div creation is *also* triggered by a Blockquote that begins with a
      header that has it's text contained in a list of special titles. The
      title is used to lookup an appropriate class to give the Div.
      
      In particular, 'prerequesites' is a special title, giving the class
      'prereq'.
      
      This input:
      
          > ## Prerequesites
          >
          > A short paragraph describing what learners need to know before
          > tackling this lesson.
      
      will trigger this output:
      
          <div id="prerequisites" class="prereq">
          <h2>Prerequisites</h2>
          <p>A short paragraph describing what learners need to know before
          tackling this lesson.</p>
          </div>
      10332276
  3. Nov 25, 2014
  4. Nov 17, 2014
  5. Nov 16, 2014
  6. Nov 15, 2014
  7. Nov 14, 2014
  8. Nov 12, 2014
    • Aaron O'Leary's avatar
      pandoc filter to convert blockquotes to divs · 6affd9a9
      Aaron O'Leary authored
      This filter converts all blockquote-with-attributes to
      div-with-attributes.
      
      A blockquote-with-attributes is defined as a blockquote that has a
      header with attributes defined on it as it's first element, e.g.
      
          > # valid blockquote {.class}
          > text
      
      This example would be converted into this markdown:
      
          <div class='class' id=id>
          # valid blockquote
          text
          </div>
      
      And the equivalent html.
      
      The class must be one of the allowed classes defined in the filter (i.e.
      one of 'callout', 'objectives' or 'challenge').
      6affd9a9
  9. Nov 09, 2014
  10. Oct 23, 2014
  11. Oct 21, 2014