Instead, throw a regular pandoc error. This is not necessarily
a programming error, as it can be triggered by inserting a
cell with ColSpan 0 in the AST. Unfortunately the types
don't prevent that.
Closes#8468.
...with entities when they're in Str elements. If a link
contains an image, it may have attributes, and the commas
there should not be converted.
See #8437, #8070.
- Adding a Parser to look for ordered list start attribute numbers if any
- Add command test for ordered list start attributes (#2465)
- Cleanup and formatting
Image widths given in percent are interpreted to be relative to the text
width. This is similar to the way percent widths are handled in other
writers, e.g. HTML and LaTeX. Previously, percent widths were taken
relative to the image's native size.
+ Extensions: Add `Ext_mark` extension.
This is not part of the pandoc extensions by default.
+ Markdown reader: parse `==..==` if `mark` extension enabled.
+ Markdown writer: support `mark` extension.
+ Docx writer: render Span with class `mark` as highlighted.
Currently yellow is hardcoded.
+ LaTeX writer: support highlighted text for Span with class `mark`.
+ RST writer: use special `mark` role for Span with class `mark`.
+ Update MANUAL.txt.
Closes#7743.
The functions htmlAddStyle and htmlAlignmentToString are moved from Writers/HTML.hs, where they were called 'addStyle' and 'alignmentToString' respectively.
The function htmlAttrs is split off from tagWithAttrs in Writers/Shared.hs. It creates a representation of an Attr object, as one would see in a tagWithAttrs (but without the tag)
...and font family in default inline css. Closes#8423
(see comments there for motivation). `mainfont`, `fontsize`,
and `linestretch` can still be used as before; the only difference
is that we no longer provide opinionated defaults.
This commit also adds a `maxwidth` variable that sets `max-width`;
if not set, 36em is used as a default.
Previously we had to work around a cabal-install bug that caused
`-Werror` to react to dependencies as well as local packages,
but this is fixed in cabal 3.8.1.0. There are some cases in which
building dependencies only doesn't work (see #8084).
This module provides functions to split Pandoc documents into
chunks to be rendered in separate files, e.g. one per section.
Internal identifiers are rewritten appropriately to point to
the new locations.
See #6122.