Age | Commit message (Collapse) | Author | Files | Lines |
|
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown).
+ Document fenced_divs extension in manual.
+ Implemented fenced code divs in Markdown reader.
+ Added test.
Closes #168.
|
|
We previously failed on cases where an attribute contained a `>`
character. This patch fixes the bug.
Closes #3989.
|
|
!! warning
-- info
|
|
|
|
|
|
|
|
if the source name is `source` (i.e., the top level). Otherwise
results will be misleading, since what readM does is to look
up the source position of the error in the *original* input,
which may not match the input used by parseFromString or
in parsing from an included file.
Closes #3865. Not a great fix, maybe there's something better
that could be done, but this should at least avoid misleading
messages.
|
|
Really closes #3979.
|
|
This was needed, for example, to make some minted options work.
|
|
|
|
Closes #3983.
|
|
Currently it's just treated as a synonym for `\newcommand`.
Handles the second case mentioned in #3983.
|
|
|
|
This should help with #3979.
In my test, I got a data uri for data-background. But it didn't
actually work in the browser (the background image didn't show).
Not sure whether this is a problem in reveal.js or a problem
in pandoc...
|
|
Or we'll get data-data-blah.
|
|
Previously `\include` wouldn't work if the included file
contained, e.g., a begin without a matching end.
We've changed the Tok type so that it stores a full SourcePos,
rather than just a line and column. So tokens keeep track
of the file they came from. This allows us to use a simpler
method for includes, which doesn't require parsing the included
document as a whole.
Closes #3971.
|
|
(Use a :literal: role.)
Closes #3974.
|
|
Closes #3978.
|
|
|
|
Now all the guts of openURL have been put into openURL from
Class. openURL is now sensitive to stRequestHeaders in CommonState
and will add these custom headers when making a request.
It no longer looks at the USER_AGENT environment variable,
since you can now set the `User-Agent` header directly.
|
|
|
|
Previously these were not triggering the helpful message
about option name changes.
|
|
markdown writer: always write bracketed_spans' attributes
|
|
This is used internally to indicate internal figures.
See https://groups.google.com/d/msgid/pandoc-discuss/892c5a25-086a-4e19-b4c1-8
975cea8df0f@googlegroups.com?utm_medium=email&utm_source=footer
|
|
|
|
Closes #3968.
|
|
Previously writer produced one paragraph with <empty-line/> elements,
which are not allowed inside <p> according to FB2 schema.
|
|
Fixes #3901 by checking for the evenAndOddHeaders mark in the
reference doc, and copying it to the resulting docx if present.
|
|
|
|
|
|
Previously we were losing the qutation marks in Quoted
elements. See #3958.
|
|
This caused quotes to be omitted in `\texttt` contexts.
Closes #3958.
However, a better fix would be to modify the
|
|
|
|
Footnotes can not only be terminated by the start of a new footnote or a
header, but also by two consecutive blank lines.
|
|
|
|
|
|
|
|
* In Options.HTMLMathMethod, the KaTeX contsructor now takes only
one string (for the KaTeX base URL), rather than two [API change].
* The default URL has been updated to the latest version.
* The autoload script is now loaded by default.
|
|
A table containing the error code, command, and command output is thrown
instead of just a string error message.
|
|
|
|
The pipe command is wrapped in a lua function, throwing a lua error if
the command returns with an error. A wrapper is needed as Haskell
functions exposed to lua may not throw lua errors due to limitations of
hslua.
The error handling is written such that a table can be returned as an
error object in the future. This is potentially useful when finer
control is required while catching the error in lua code. Current
limitations of hslua require error objects to be strings.
|
|
This reduces some boilerplate.
|
|
Closes #3947.
|
|
The `\n` export option turns all newlines in the text into hard
linebreaks.
Closes #3950
|
|
This is hard to do in lua, so it's helpful to provide this.
|
|
|
|
Better to leave control over the extension to the user.
|
|
|
|
Now 'fetch' simply fetches content and mime type.
A new 'hashname' function is provided to get a filename based
on the sha1 hash of the contents and the mime type.
|
|
This is necessary because you may need to insert the filename
into an image or link element.
|