| Age | Commit message (Collapse) | Author |
|
This change only affects the case where `--file-scope` is used
and more than one file is specified on the command line.
In this case, identifiers will be prefixed with a string
derived from the file path, to disambiguate them. For example,
an identifier `foo` in `contents/file1.txt` will become
`contents__file1.txt__foo`. Links will be adjusted accordingly:
if `file2.txt` links to `file1.txt#foo`, then the link will
be changed to point to `#file1.txt__foo`. Similarly, a link
to `file1.txt` will point to `#file1.txt`. A Div with an
identifier derived from the file path will be added around
each file's content, so that links to files will still work.
Closes #6384.
[API change]: Text.Pandoc.Shared exports `textToIdentifier`.
|
|
...and not in regular HTML output.
Closes #8281.
|
|
This allows to specify a table foot by enclosing it with part separator
lines, i.e., row separator lines consisting only of `+` and `=`
characters. E.g.:
+------+-------+
| Item | Price |
+======+=======+
| Eggs | 5£ |
+------+-------+
| Spam | 3£ |
+======+=======+
| Sum | 8£ |
+======+=======+
The last row, containing "Sum" and "8£", is the table foot.
Closes: #8257
|
|
(#8231)
|
|
These should not be generated by any pandoc readers, but they
might be produced programatically. Technically that's a misuse
of the AST, but since the expectation that the classes are
nonempty strigs is not encoded in the types, it can happen. This patch
limits the damage if it does, preventing invalid markdown attributes
like `{.}` from being written.
Cloess #8251.
|
|
This allows the combination of the fenced code block shortcut form with
attributes:
````
```haskell {.class #id}
```
````
The code syntax class will be combined with the attribute classes.
This syntax allows for more intuitive writing and for better compatibility
with other Markdown parsers such as GitHub or Codeberg.
Closes #8174.
|
|
These turn into regular `#` arguments when expanded.
Closes #8243.
|
|
The default `flex` and `overflow-x` properties of a column are set to
`auto`. In combination, these changes allow to get good results when
using columns with or without explicit widths.
|
|
Closes: #6367
|
|
Found via `codespell -q 3 -S changelog.md -L bu,fo,ist,mke,multline,noes,ot,pard,pres,tabl,te,tothe`
|
|
This improves support for notebook-like org files that are intended to be used
with emacs-jupyter package.
Closes: #8236
|
|
Fixes: #8232
|
|
A block of type "abstract" is assumed to define the document's abstract.
It is transferred from the main text to the metadata.
Closes: #8204
|
|
See #8204.
|
|
Tables with an identifier are marked with a `\label`. A caption is
always included in this case, even if the caption is empty.
Closes: #8219
|
|
Closes: #8216
|
|
The HTML standard requires all list items to be marked with a `<li>`
tag, but some tools fail to do so for sublists. The reader now accepts
these unwrapped lists as sublists.
Closes: #8150
|
|
|
|
Fixes: #8201
|
|
|
|
Spans with "smallcaps" as the first class are converted to *SmallCaps*
elements. While previously no other classes or attributes were allowed,
additional classes, attributes, and an identifier are not permitted and
kept in a *SmallCaps* wrapping *Span* element.
The same change is applied to underline spans, where the first class
must be either "ul" or "underline".
Closes: #4102
|
|
Closes #8110.
|
|
The `tex_math_dollars` extension is now supported for `dokuwiki`
(but off by default).
Content inside `<latex>...</latex>` is parsed as raw LaTeX inline,
and inside `<LATEX>..</LATEX>` as raw LaTeX block.
In addition, this commit changes the behavior of `<php>...</php>` so
that instead of producing a code block, it produces raw HTML
with `<?php ... ?>`.
Closes #8178.
|
|
Previously classes like "underline" and "marked" had to
be the first class in a span in order for the span to be
interpreted as a "ul" or "mark" element. This commit allows
these special classes to be "stacked," e.g.
`[test]{.mark .underline}`; in addition, the special classes are no
longer required to come first in the list of classes.
See #8194 for context.
|
|
|
|
For full motivation, see #1629 ; this improves on
99e24cf18337b0b460005bf77e367783c34b75e7.
Closes #8179.
|
|
Previously spaces around links inside italics were omitted.
Closes #8182.
|
|
|
|
Closes #8170.
|
|
Move formatting from inside inline code elements to the outside in order
to retain formatting.
|
|
Also ensure that Nulls are ignored in sectionification
by `makeSections`.
Closes #8155.
|
|
Browser will display the extra newline character between checkbox and
text as a space, which make tasklist items cannot be aligned.
I just remove it.
|
|
parsed as inlines, as the manual states.
Previously, they were parsed as inlines if they would
otherwise have been a single Plain or Para, but otherwise
left unchanged. This led to some quirky results (e.g. #8143).
We now use the general function `blocksToInlines` from T.P.Shared.
|
|
Add `formatCode` function to Text.Pandoc.Shared [API change].
Use this in the LaTeX reader so that e.g.
`\texttt{\textbf{bold code}}` is parsed as `Strong [Code ("",[],[]) "bold code"]`.
|
|
When converting e.g. an align environment to an aligned environment
inside a Math element, we need to include a newline before the
`\end{aligned}`, since the previous line might end in a comment.
Closes #8122.
|
|
The document hierarchy is now conveyed using the
`\startsectionlevel`/`\stopsectionlevel` by default. This makes it easy
to include pandoc-generated snippets in documents at arbitrary levels.
The more semantic environments "chapter", "section", "subsection", etc.
are used if the `--top-level-division` command line parameter is set to
a non-default value.
Closes: #5539
|
|
Closes #8098.
|
|
This formerly caused section divs to be produced, even
when `--section-divs` was not specified. Closes #8097.
|
|
Closes #8088.
|
|
|
|
Closes #8079.
|
|
Commas in link text trigger interpretation of attributes.
To block this, we replace them with numeric entities.
Closes #8070.
|
|
Closes #8055.
|
|
Tables with attributes are no longer wrapped in Div elements;
attributes are added directly to the table element.
|
|
when height and width are added to style because of an image,
but the image already has a style attribute.
Closes #8047.
|
|
Closes #8043.
|
|
|
|
doc-endnote was deprecated in DPUB-ARIA 1.1.
Closes #8030.
|
|
Previously we parsed them but discarded part of the content.
Closes #8028.
|
|
on bullet lists. They are now nested by 2 spaces instead of 4.
See #8011.
|