git.iko.soy/typeable/pandoc
on 769e2f3 help sign in
769e2f3HTML writer: if language specified for code block, print as <code> class.fiddlosopher fa0ab86Modified tests for new argument in CodeBlock.fiddlosopher 2c13782Modified writers for new argument place in CodeBlock.fiddlosopher 9f7a14cModified readers for new parameter in CodeBlock.fiddlosopher 6a921f0Added parameter for class to CodeBlock (for syntax highlighting).fiddlosopher 1a80813* Debian packaging changes:roktas 76c49ebAdded note in INSTALL about doing 'make templates' if installing using Cabal from svn.fiddlosopher d3a179cAdded \setupitemize[autointro] to ConTeXt header, to prevent orphaned list introduction lines.fiddlosopher 6da5be1website: Added math.text to dependencies for examples.html in Makefile.fiddlosopher 17f516fMoved math.txt -> math.text on web page, so it won't be confused with page source.fiddlosopher 790fd46Changed names of HTML man pages to *.1.html on website.fiddlosopher 42359e6Fixed bug in RST reader, which would choke on: "p. one\ntwo\n". Added some try's in ordered list parsers.fiddlosopher 8f8888dUpdated INSTALL with instructions for getting GHC + libraries using apt-get.fiddlosopher d474852Removed unnecessary imports.fiddlosopher 155ef83Added Arch linux instructions to INSTALL.fiddlosopher 6795ffdBumped version to 0.47.fiddlosopher c453e2fMade -c/--css option repeatable on the command line (like -H, -A, -B). Documented repeatability of these options in README.fiddlosopher 936465aUpdated website with news of version 0.46 release.fiddlosopher 690677eAdded some details to RELEASE-CHECKLIST.fiddlosopher 9307900Removed redundant DISTNAME field from freebsd Makefile template.fiddlosopher 8fca649Changed copyright dates where appropriate to include 2008.fiddlosopher a7a519eChanged dates on documentation.fiddlosopher 3c74984Removed unneeded link reference from website index.txt.in.fiddlosopher 2df432dChanged comment used to replace unsafe HTML if sanitize-html option selected.fiddlosopher 71e508f* Debian packaging changes:roktas 65e118eUpdated changelog.fiddlosopher b9e30caRST reader: Fixed bug in parsing explicit links (resolves Issue #44). The problem was that we were looking for inlines until a '<' character signaled the start of the URL. So if you hit a reference-style link, it would keep looking til the end of the document. Fix: change inline => (notFollowedBy (char '`') >> inline). Note that this won't allow code inlines in links, but these aren't allowed in resT anyway.fiddlosopher 85657adRST reader: cleaned up parsing of reference names in key blocks and links. Allow nonquoted reference links to contain isolated '.', '-', '_', so so that strings like 'a_b_' count as links.fiddlosopher e4837c1RST reader: Removed unnecessary check for following link in str. This is unnecessary now that link is above str in the definition of 'inline'.fiddlosopher d271473Fixed markdown reader to handle "*hi **there***" as a strong nested in an emph. (A '*' is only recognized as the end of the emphasis if it's not the beginning of a strong emphasis.)fiddlosopher 0e94609Markdown reader: Moved blockQuote parser before list parsers.fiddlosopher 0b3ffbfAdded RELEASE-CHECKLIST.fiddlosopher 0921704Use an interpreted text role to render math in restructuredText. See http://www.american.edu/econ/itex2mml/mathhack.rst for the strategy.fiddlosopher ec3f6b6Refactored RST writer to usea record instead of a tuple for state, and to include options in state so it doesn't need to be passed as a parameter.fiddlosopher 5df912bAdded optional HTML sanitization using a whitelist. When this option is specified (--sanitize-html on the command line), unsafe HTML tags will be replaced by HTML comments, and unsafe HTML attributes will be removed. This option should be especially useful for those who want to use pandoc libraries in web applications, where users will provide the input.fiddlosopher a505f70Made -H, -A, and -B cumulative: if they are specified multiple times, multiple files will be included.fiddlosopher e37df6dFixed bug in the markdown reader: HTML preceding a code block could cause it to be parsed as a paragraph. (The problem is that the HTML parser used to eat all blank space after an HTML block, including the indentation of the code block.) Resolves Issue #39. + In Text.Pandoc.Readers.HTML, removed parsing of following space from rawHtmlBlock. + In Text.Pandoc.Readers.Markdown, modified rawHtmlBlocks so that indentation is eaten *only* on the first line after the HTML block. This means that in <div> foo <div> the foo won't be treated as a code block, but in <div>fiddlosopher ad5cbb7HTML reader: Finished fixing Issue #40. Contents of script tags were still being treated as markdown when the script tags were parsed as inline. Fixed by moving "script" from the list of tags that can be either block or inline to the list of block tags.fiddlosopher d989a78HTML reader: Don't interpret contents of style tags as markdown. Resolves Issue #40. + Added htmlStyle, analagous to htmlScript. + Use htmlStyle in htmlBlockElement and rawHtmlInline.fiddlosopher 6e1a652Fixed bug in HTML reader: it was looking for <IT> tag, not <I>.fiddlosopher 6c1f9c8Made LaTeX reader properly recognize --parse-raw in rawLaTeXInline. Updated LaTeX reader test to use --parse-raw.fiddlosopher a465c4fChanged handling of titles in HTML writer so you don't get "titleprefix - " followed by nothing.fiddlosopher 5e65598Use wrappers around Doc elements to ensure proper spacing in ConTeXt writer. Each block element is wrapped with either Pad or Reg. Pad'ed elements are guaranteed to have a blank line in between. Updated ConTeXt tests.fiddlosopher f74dda2Markdown reader: Make 'block' conditional on strictness state, instead of using failIfStrict in block parsers. Use a different ordering of parsers in strict mode: raw HTML block before paragraph. This recovers performance that was lost in strict mode with r1154.fiddlosopher 05cbdf0Markdown: better handling of parentheses in URLs and quotation marks in titles. + source parser first tries to parse URL with balanced parentheses; if that doesn't work, it tries to parse everything beginning with '(' and ending with ')'. + source parser now uses an auxiliary function source'. + linkTitle parser simplified and improved, under assumption that it will be called in context of source'.fiddlosopher ee6f06eModified markdown reader to disallow links within links. (Resolves Issue #35.) + Replaced inlinesInBalanced with inlinesInBalancedBrackets, which instead of hard-coding the inline parser takes an inline parser as a parameter. + Modified reference and inlineNote to use inlinesInBalancedBrackets. + Removed unneeded inlineString function. + Added inlineNonLink parser, which is now used in the definition of reference. + Added inlineParsers list and redefined inline and inlineNonLink parsers in terms of it. + Added failIfLink parser.fiddlosopher 97992e6Improved handling of raw HTML in Markdown reader. (Resolves Issue #36.) Tags that can be either block or inline (e.g. <ins>) should be treated as block when appropriate and as inline when appropriate. Thus, for example, <ins>hi</ins> should be treated as a paragraph with inline <ins> tags, while <ins>fiddlosopher dad8e16Changed failure message in anyHtmlBlockTag (minor change).fiddlosopher 6802d28Modified rawHtmlBlock in HTML reader so it parses </html> and </body> tags. This allows these tags to be handled correctly in Markdown. HTML reader now uses rawHtmlBlock', which excludes </html> and </body>, since these are handled in parseHtml. (Resolves Issue #38.)fiddlosopher fbecb49Modified 'source' parser in Markdown reader to allow backslash escapes in URLs. So, for example, [my](/url\(1\)) yields a link to /url(1). Resolves Issue #34.fiddlosopher