Skip to content

Commit

Permalink
Merge pull request #9 from aaren/gh-pages
Browse files Browse the repository at this point in the history
[RDY] pandoc filter to convert blockquotes to divs
  • Loading branch information
Greg Wilson committed Nov 12, 2014
2 parents 25e776b + efc51c5 commit ec7e0ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ create a new lesson:
8. Push your changes to GitHub for viewing.
9. Tell us where your lesson is so that we can use it and help you improve it.

### Dependencies

1. [Install Pandoc]http://www.johnmacfarlane.net/pandoc/installing.html)

2. Install pandocfilters, a python module that helps with writing
filters for pandoc:

~~~
pip install pandocfilters
~~~
## Why Use a Template?
We organize our lessons in a standard way so that:
Expand Down
1 change: 1 addition & 0 deletions pages/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ $(DST_DIR)/%.html : $(SRC_DIR)/%.md
pandoc -s -t html \
--title-prefix='Software Carpentry' \
--template=../_layouts/page \
--filter=../tools/blockquote2div.py \
$(INCLUDES) \
-o $@ $<

Expand Down

0 comments on commit ec7e0ab

Please sign in to comment.