Added parameter for class to CodeBlock (for syntax highlighting).

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1198 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2008-02-09 03:17:49 +00:00
parent 1a80813009
commit 6a921f0966

View file

@ -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