Permalink
Browse files

Backticks to tildes

Pandoc is not parsing code blocks with backticks; switched to tildes.
  • Loading branch information...
Daniel Shannon
Daniel Shannon committed Jan 22, 2013
1 parent a1c39f6 commit 9cacdca751bea204fc4653eb30dff9475f09da52
Showing with 11 additions and 5 deletions.
  1. +4 −4 Samples/index.mdown
  2. +7 −1 messages/1.3.0.txt
View
@@ -50,16 +50,16 @@ Customizing Variables
---------------------
Pandoc also allows you to define arbitrary variables in the command line, so of course, Pandown does too. Under `pandoc_arguments`, set the dictionary `variables` to whatever keys and values you like. Values can even be lists, allowing you to completely duplicate the built-in functionality. For example, the `github.html` template is set up to work with the variable `javascript`. The template has these three lines:
-`````````````````````````````````````````````` {.html .numberLines}
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.html .numberLines}
$for(javascript)$
<script type="text/javascript" src="$javascript$"></script>
<!-- Will be repeated for each javascript variable. -->
$endfor$
-`````````````````````````````````````````````````````````````````````````````
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So if you include something like this in one of your configuration files, it'll be passed to the template:
-`````````````````````````````````````````````` {.json .numberLines}
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.json .numberLines}
{
"pandoc_arguments":
{
@@ -69,7 +69,7 @@ So if you include something like this in one of your configuration files, it'll
}
}
}
-`````````````````````````````````````````````````````````````````````````````
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This potentially has some interesting uses. Let's say you had one template that you were using across several projects, and you wanted to include Google Analytics code appropriate for each project. You could accomplish this in a few different ways:
View
@@ -11,4 +11,10 @@ MAJOR IMPROVEMENTS
MINOR FIXES
* UTF-8 characters that were bewildering
Pandoc have been removed from the sample
- files and README.
+ files and README.
+
+KNOWN ISSUES
+ * Pandoc seems to be having trouble with
+ code blocks fenced with backticks. You
+ may need to switch to tildes until this
+ is corrected.

0 comments on commit 9cacdca

Please sign in to comment.