- Nov 16, 2014
-
-
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>
-
Raniere Silva authored
Changing sed command used to display help from Makefile.
-
- Nov 15, 2014
-
-
Greg Wilson authored
As per https://github.com/swcarpentry/workshop-template/pull/53, this PR is more selective about what it does and doesn't print.
-
- Nov 14, 2014
-
-
Greg Wilson authored
Clean CSS file
-
Greg Wilson authored
-
Greg Wilson authored
-
Greg Wilson authored
Improving setup instructions
-
Greg Wilson authored
Multiple changes based on converting Make lesson to template
-
- Nov 13, 2014
-
-
Raniere Silva authored
-
Greg Wilson authored
-
Greg Wilson authored
1. Moving the build steps up to the top of `README.md`. 2. Removed the misleading target to run the checking tool (since the tool doesn't actually work).
-
Greg Wilson authored
And taking it out of the auto-displayed list of available commands.
-
Greg Wilson authored
-
Greg Wilson authored
-
Greg Wilson authored
-
- Nov 12, 2014
-
-
Greg Wilson authored
[RDY] pandoc filter to convert blockquotes to divs
-
Aaron O'Leary authored
-
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').
-
Raniere Silva authored
Adding missing CSS files.
-
Raniere Silva authored
Fix layout to follow bc CSS
-
Raniere Silva authored
-
Greg Wilson authored
Adding slides
-
- Nov 11, 2014
-
-
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.
-
Greg Wilson authored
-
- Nov 10, 2014
-
-
Greg Wilson authored
1. Bringing in Bootstrap CSS files. 2. Merging swc.css and swc-bootstrap.css from 'bc' repository. 3. Updating _includes/header.html to refer to the right files.
-
Greg Wilson authored
Include standard page layout
-
Greg Wilson authored
The HTML files in the root directory of this repository don't belong in version control, since they are built from the demonstration files in `pages` rather than from real lessons. However, the HTML files in the root of actual lessons definitely *do* belong in the repo, so the `.gitignore` shouldn't ignore them.
-
Greg Wilson authored
1. Modify `.gitignore` to only ignore HTML files in the current directory. 2. Add `_includes/page.html` template.
-
Greg Wilson authored
Putting template into final [sic] form
-
Greg Wilson authored
-
Greg Wilson authored
-
Greg Wilson authored
-
- Nov 09, 2014
-
-
Greg Wilson authored
-
Greg Wilson authored
1. Moving all commands into a Makefile (because we're handling file dependencies, and that's the right tool for it). 2. Ignoring the .html files produced in the root directory for now. 3. Switching to a single layout modeled on that used for workshop websites - will need to update this.
-
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).
-
- Nov 05, 2014
-
-
Greg Wilson authored
Adding a note to remind authors to say what learners are supposed to do in lessons.
-
Greg Wilson authored
-
- Oct 23, 2014
-
-
Greg Wilson authored
-
Greg Wilson authored
-
Greg Wilson authored
-