aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-02-09 03:17:49 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-02-09 03:17:49 +0000
commit6a921f09664d45ce603151f9cd0d14d8c8f550a1 (patch)
tree18a8b96cfe2470307c628846430dc78cba33017c
parent1a80813009dce1a12040f39a675a02718736ccd1 (diff)
downloadpandoc-6a921f09664d45ce603151f9cd0d14d8c8f550a1.tar.gz
Added parameter for class to CodeBlock (for syntax highlighting).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1198 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--Text/Pandoc/Definition.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Text/Pandoc/Definition.hs b/Text/Pandoc/Definition.hs
index c04ae0856..96d0a6ec0 100644
--- a/Text/Pandoc/Definition.hs
+++ b/Text/Pandoc/Definition.hs
@@ -66,7 +66,7 @@ data ListNumberDelim = DefaultDelim
data Block
= Plain [Inline] -- ^ Plain text, not a paragraph
| Para [Inline] -- ^ Paragraph
- | CodeBlock String -- ^ Code block (literal)
+ | CodeBlock String String -- ^ Code block (literal) with class
| RawHtml String -- ^ Raw HTML block (literal)
| BlockQuote [Block] -- ^ Block quote (list of blocks)
| OrderedList ListAttributes [[Block]] -- ^ Ordered list (attributes