Age | Commit message (Collapse) | Author | Files | Lines |
|
highlighted. We reasonably assume that code blocks in Haddock markup
wont be used for anything but Haskell code.
|
|
|
|
- Specialize readWith to String input.
- On error have it print the line in which the error occurred,
with a caret pointing to the column.
- This should help diagnose parsing problems in LaTeX especially.
|
|
This articulates strings into Str, Space, allowing them to be
hard-wrapped intelligently by the writers.
This patch also fixes a bug with trailing spaces and newlines.
(See #806.)
|
|
if other table options are disabled.
This means you can do
pandoc -t markdown-pipe_tables-simple_tables-multiline_tables
and all tables will render as grid tables.
|
|
|
|
Modify tests/haddock-reader.haddock and
tests/haddock-reader.native.
|
|
|
|
|
|
|
|
Don't treat punctuation before percent-encoding as final punctuation.
Don't treat '+' as final punctuation.
|
|
Improved attribute parsing.
|
|
|
|
without preceding or following blank line.
|
|
`<` is no longer allowed in URLs, according to the uri parser
in Text.Pandoc.Parsing.
Added a test case.
|
|
|
|
Reason: < 0.5 does not provide a monoid instance for Attribute,
which is now needed by the HTML writer.
Closes #803.
|
|
|
|
Closes #701.
|
|
before treating as a filename. This fixes `--self-contained`
when used with CSS files that include web fonts using the
method described here:
http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/
Examples from reveal.js themes:
"../../lib/font/league_gothic-webfont.eot?#iefix"
"../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular"
Closes #739.
|
|
Reason: some browsers have trouble with the gzipped js file,
at least on the local file system.
Closes #795.
|
|
Set linear="no" if no title block.
Addresses #797.
|
|
Closes #799.
|
|
|
|
|
|
This gives
. . .
a pause.
|
|
|
|
|
|
Changed name to revealjs (from reveal_js).
Set revealjs-url template variable to 'reveal.js' by default.
|
|
|
|
|
|
|
|
Variant of a patch from jamiefolson.
Results for more than one level of nesting may be odd.
Perhaps this needs revising.
|
|
All slide formats supported.
Simplified some list code.
|
|
Support unordered and ordered lists with "fragment" elements.
Modified by JGM to remove the --reveal_js-url command-line option.
Instead use -V reveal_js-url=... as with slidy and the other slide
formats. Also cleaned up the list code in the HTML writer.
|
|
|
|
|
|
Minor fixes to OPML writer.
Improved OPML reader tests.
|
|
So, `type="link"` or `type="LINK"`.
|
|
|
|
TODO:
* Document in README
* Add tests
* Add template (and add template to cabal file)
|
|
|
|
The _note attribute is supported. This is unofficial, but
used e.g. in OmniOutliner and supported by multimarkdown.
We treat the contents as markdown blocks under a section
header.
Added to documentation and tests.
|
|
In 1.11 and 1.11.1, display math in lists rendered as a new list
item. Now it always appears centered, just as outside of lists,
and in proper display math style, no matter how far indented the
containing list item is.
Closes #784.
|
|
|
|
|
|
* Reverts 1.11 change that caused citations to be rendered as
markdown citations, even if `--biblio` was specified, unless
`citation` extension is disabled. Now, formatted citations
are always printed if `--biblio` was specified. If you want to
reformat markdown keeping pandoc markdown citations intact,
just don't specify `--biblio`.
* Reverted now unnecessary changes to Text.Pandoc.Biblio adding the raw
block to mark the bibliography, and to Text.Pandoc.Writers.Markdown
to remove the bibliography if `citations` not specified.
* If the content of a `Cite` inline is a `RawInline "latex"`, which
means that a LaTeX citation command was parsed and `--biblio` wasn't
specified, then render it as a pandoc markdown citation. This means
that `pandoc -f latex -t markdown`, without `--biblio`, will convert
LaTeX citation commands to pandoc markdown citations.
|
|
|
|
In 1.11, citations would be rendered as pandoc markdown citations,
but the bibliography would still be printed.
We avoid that by adding a `RawBlock "pandoc" "references"` before
the references. This allows the markdown writer to find the references
and strip them off when `citations` is enabled.
|
|
This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
|