Skip to content
Snippets Groups Projects
  1. Jan 22, 2015
  2. Nov 16, 2014
    • Raniere Silva's avatar
      Fix template layout · df30e97c
      Raniere Silva authored
      The body variable at Pandoc template **must** not be indented
      because the indentation will propagate into the HTML.
      
      Example:
      
          $ cat page.html
          <!DOCTYPE html>
          <html>
            <body>
              $body$
            </body>
          </html>
          $ pandoc -s -t html --template=page -o sample.html sample.md
          $ cat sample.html
          <!DOCTYPE html>
          <html>
            <body>
              <pre><code>def foo():
                  return None</code></pre>
            </body>
          </html>
      
      Solution:
      
          $ cat fix.html
          <!DOCTYPE html>
          <html>
            <body>
          $body$
            </body>
          </html>
          $ pandoc -s -t html --template=fix -o sample-fix.html sample.md
          $ cat sample-fix.html
          <!DOCTYPE html>
          <html>
            <body>
          <pre><code>def foo():
              return None</code></pre>
            </body>
          </html>
      df30e97c
  3. Nov 13, 2014
  4. Nov 12, 2014
  5. Nov 11, 2014
    • Greg Wilson's avatar
      Converting `motivation.md` to use slides template. · 5c15f8cf
      Greg Wilson authored
      Also modifed the Makefile to use the slides template for this file
      instead of the generic template.
      
      Note that we do not need a Markdown extension for deck.js because
      Pandoc is doing Markdown-to-HTML conversion for us.
      5c15f8cf
  6. Nov 10, 2014
  7. Nov 09, 2014
    • Greg Wilson's avatar
      Reorganizing material to put page source in sub-directory: · da5fc640
      Greg Wilson authored
      * Add `.nojekyll` to stop GitHub trying to compile.
      * Get rid of Jekyll `_config.yml`.
      * Create placeholder `css` and `img` directories.
      * Create `pages` directory with source for web pages.
      * Move all Markdown files into `pages`.
      * Move `tools` into `pages` (because that's where people will mostly work).
      * Move `_includes` and `_layouts` into `pages` (because that's where we'll compile).
      da5fc640
  8. Oct 23, 2014
  9. Oct 22, 2014
  10. Oct 21, 2014