Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-07-19 | Remove use of cmark-gfm for commonmark/gfm rendering. | John MacFarlane | 11 | -440/+118 | |
Instead rely on the markdown writer with appropriate extensions. Export writeCommonMark variant from Markdown writer. This changes a few small things in rendering markdown, e.g. w/r/t requiring backslashes before spaces inside super/subscripts. | |||||
2020-07-19 | Markdown writer: use unicode super/subscript characters... | John MacFarlane | 1 | -18/+44 | |
when possible if the superscript or subscript extension or raw_html aren't available. | |||||
2020-07-19 | Markdown writer: render caption as following paragraph... | John MacFarlane | 1 | -2/+5 | |
when `Ext_table_caption` not enabled. | |||||
2020-07-19 | Use released versions of commonmark libraries. | John MacFarlane | 2 | -6/+4 | |
2020-07-19 | Add commonmark_x output format... | John MacFarlane | 5 | -3/+36 | |
commonmark with a number of useful extensions (more than gfm). | |||||
2020-07-19 | Trim down githubMarkdownExtensions. | John MacFarlane | 2 | -10/+12 | |
Previously it included all of the following, which make sense for the legacy markdown_github but not for gfm, since they are part of base commonmark and thus can't be turned off in gfm: - `Ext_all_symbols_escapable` - `Ext_backtick_code_blocks` - `Ext_fenced_code_blocks` - `Ext_space_in_atx_header` - `Ext_intraword_underscores` - `Ext_lists_without_preceding_blankline` - `Ext_shortcut_reference_links` ` These have been removed from `githubMarkdownExtensions`, though they're still turned on for legacy `markdown_github`. | |||||
2020-07-19 | Add generic `attributes` extension. | John MacFarlane | 3 | -8/+34 | |
This allows attributes to be added to any block or inline element, in principle. (Though in many cases this will be done by adding a Div or Span container, since pandoc's AST doesn't have a slot for attributes for most elements.) Currently this is only possible with the commonmark and gfm readers. Add `Ext_attributes` constructor for `Extension` [API change]. | |||||
2020-07-19 | Use commonmark-hs to parse commonmark/gfm... | John MacFarlane | 4 | -199/+67 | |
...instead of cmark-gfm (a wrapper around a C library). We can now support many more pandoc extensions for commonmark and gfm. Add fenced_code_attributes to gfm/commonmark extensions. | |||||
2020-07-19 | CI: Drop testing on ghc 8.0.2. | John MacFarlane | 2 | -3/+1 | |
2020-07-19 | MANUAL.txt: rewrite Raw HTML/TeX section... | John MacFarlane | 1 | -47/+37 | |
...to avoid duplicate headings for the extensions. | |||||
2020-07-19 | Merge pull request #6495 from tarleb/html5-figure-accessiblity | John MacFarlane | 6 | -9/+17 | |
HTML writer: improve alt-text/caption handling for HTML5 | |||||
2020-07-19 | Merge pull request #6547 from Blake-Eryx/master | John MacFarlane | 1 | -1/+0 | |
Remove duplicate 'titlepage' in docs | |||||
2020-07-19 | Remove duplicate 'titlepage' in docs | Blake Eryx | 1 | -1/+0 | |
2020-07-18 | DocBook reader: parse releaseinfo as metadata. | John MacFarlane | 1 | -0/+1 | |
Closes #6542. Note that you'll need to put releaseinfo somewhere in your template if you want this to be part of the converted output. | |||||
2020-07-17 | Jira writer: keep image caption as alt attribute | Albert Krewinkel | 2 | -12/+14 | |
Fixes #6529 | |||||
2020-07-15 | Use selnolig to selectively suppress ligatures with lualatex. | John MacFarlane | 5 | -0/+15 | |
Closes #6534 | |||||
2020-07-14 | Docbook reader: remove misleading comment... | John MacFarlane | 1 | -1/+1 | |
suggesting that releaseinfo is handled. It isn't. | |||||
2020-07-13 | Merge pull request #6527 from lierdakil/fix-6514 | John MacFarlane | 3 | -55/+59 | |
[Docx Reader] Only use bCs/iCs on runs with rtl or cs property | |||||
2020-07-13 | Merge pull request #6528 from lierdakil/fix-ci-haskell-setup | John MacFarlane | 1 | -10/+4 | |
[CI] Use setup-haskell action | |||||
2020-07-13 | [Docx Reader] Only use bCs/iCs on runs with rtl or cs property | Nikolay Yakimov | 3 | -55/+59 | |
Fixes #6514 | |||||
2020-07-13 | [CI] Use setup-haskell action | Nikolay Yakimov | 1 | -10/+4 | |
2020-07-12 | Merge pull request #6513 from brisad/master | John MacFarlane | 4 | -1/+43 | |
Escape starting periods in ms writer code blocks | |||||
2020-07-12 | Merge pull request #6506 from bewuethr/fix-manual-typo | John MacFarlane | 1 | -1/+1 | |
Fix typo in MANUAL.txt | |||||
2020-07-12 | Merge pull request #6509 from lierdakil/docx-smush-inlines-refactor | John MacFarlane | 3 | -63/+40 | |
[Docx Reader] Refactor/update Text.Pandoc.Readers.Docx.Combine.smushInlines | |||||
2020-07-12 | Merge pull request #6508 from lierdakil/bench-bs-readers | John MacFarlane | 1 | -25/+35 | |
[Bench] Benchmark bytestring readers | |||||
2020-07-12 | Ms writer: fix code highlighting with blank lines. | John MacFarlane | 1 | -5/+5 | |
Previously blank lines were simply omitted from highligted code. | |||||
2020-07-12 | RST reader: fix spurious newlines in some attributes from directives. | John MacFarlane | 1 | -1/+2 | |
2020-07-12 | RST reader: avoid extra newline in included code blocks. | John MacFarlane | 1 | -2/+2 | |
2020-07-09 | Fix Typos in Lua Filters Doc | tajmone | 1 | -4/+4 | |
2020-07-08 | Escape starting periods in ms writer code blocks | Michael Hoffmann | 4 | -1/+43 | |
If a line of ms code block output starts with a period (.), it should be prepended by '\&' so that it is not interpreted as a roff command. Fixes #6505 | |||||
2020-07-07 | [Docx Reader] Use null instead of isEmpty in Readers.Docx.Combine | Nikolay Yakimov | 1 | -9/+5 | |
2020-07-07 | [Bench] Benchmark bytestring readers | Nikolay Yakimov | 1 | -25/+35 | |
2020-07-07 | [Docx Reader] Remove unused LANGUAGE from Readers.Docx.Combine | Nikolay Yakimov | 1 | -2/+0 | |
2020-07-07 | [Docx Reader] Remove no-op stack/unstackInlines in Readers.Docx.Combine | Nikolay Yakimov | 1 | -6/+4 | |
2020-07-07 | [Docx Reader] Get rid of unused NullModifier in Readers.Docx.Combine | Nikolay Yakimov | 1 | -18/+15 | |
2020-07-07 | [Docx Reader] Refactor/update smushInlines | Nikolay Yakimov | 3 | -45/+33 | |
2020-07-05 | Fix typo in MANUAL.txt | Benjamin Wuethrich | 1 | -1/+1 | |
2020-07-02 | Revert "Ipnyb: allow lossless round-tripping of markdown cell content." | John MacFarlane | 3 | -10/+6 | |
This reverts commit efbc2050315b60c8a753dee6255465f1083019ab. | |||||
2020-07-02 | Revert "Ipynb reader: fix duplication of 'source' attribute." | John MacFarlane | 1 | -1/+1 | |
This reverts commit 2d009366cef2358ec2c99612ae2c73068841306c. | |||||
2020-07-02 | Ipynb reader: fix duplication of 'source' attribute. | John MacFarlane | 1 | -1/+1 | |
See #5408. | |||||
2020-07-02 | CONTRIBUTING.md: Advertise the official nightlies in GitHub actions. | John MacFarlane | 1 | -3/+9 | |
Replaces #6500, thanks to @ickc. | |||||
2020-07-01 | HTML writer: improve alt-text/caption handling for HTML5 | Albert Krewinkel | 6 | -9/+17 | |
Screen readers read an image's `alt` attribute and the figure caption, both of which come from the same source in pandoc. The figure caption is hidden from screen readers with the `aria-hidden` attribute. This improves accessibility. For HTML4, where `aria-hidden` is not allowed, pandoc still uses an empty `alt` attribute to avoid duplicate contents. Closes: #6491 | |||||
2020-07-01 | Org reader: respect tables-excluding export setting | Albert Krewinkel | 4 | -2/+15 | |
Tables can be removed from the final document with the `#+OPTION: |:nil` export setting. | |||||
2020-06-30 | Org reader: respect export setting disabling footnotes | Albert Krewinkel | 4 | -2/+23 | |
Footnotes can be removed from the final document with the `#+OPTION: f:nil` export setting. | |||||
2020-06-30 | Ipnyb: allow lossless round-tripping of markdown cell content. | John MacFarlane | 3 | -6/+10 | |
The reader now parses the contents of the markdown cell to a Pandoc structure, but *also* stores the raw markdown in a `source` attribute on the cell Div. When we convert back to markdown, this attribute is stripped off and the original source is used. When we convert to other formats, the attribute is usually ignored (though it will come through in HTML as a `data-source` attribute, not unhelpfully). I'll note some potential drawbacks of this approach: - It makes it impossible to use pandoc to clean up or change the contents of markdown cells, e.g. going from `+smart` to `-smart`. - There may be formats where the addition of the `source` attribute is problematic. I can't think of any, though. Closes #5408. | |||||
2020-06-30 | Fix date on changelog | John MacFarlane | 1 | -1/+1 | |
2020-06-30 | Org reader: respect export setting which disables entities | Albert Krewinkel | 4 | -6/+22 | |
MathML-like entities, e.g., `\alpha`, can be disabled with the `#+OPTION: e:nil` export setting. | |||||
2020-06-29 | Add Vaibhav Sagar to authors. | John MacFarlane | 1 | -0/+1 | |
2020-06-29 | Fix 'make pandoc-templates'. | John MacFarlane | 1 | -2/+2 | |
2020-06-29 | rc action: use older stack that supports i386 for Windows i386 build. | John MacFarlane | 1 | -1/+2 | |