pandoc/test
John MacFarlane 8511f6fdf6 MediaBag improvements.
In the current dev version, we will sometimes add
a version of an image with a hashed name, keeping
the original version with the original name, which
would leave to undesirable duplication.

This change separates the media's filename from the
media's canonical name (which is the path of the link
in the document itself).  Filenames are based on SHA1
hashes and assigned automatically.

In Text.Pandoc.MediaBag:

- Export MediaItem type [API change].
- Change MediaBag type to a map from Text to MediaItem [API change].
- `lookupMedia` now returns a `MediaItem` [API change].
- Change `insertMedia` so it sets the `mediaPath` to
  a filename based on the SHA1 hash of the contents.
  This will be used when contents are extracted.

In Text.Pandoc.Class.PandocMonad:

- Remove `fetchMediaResource` [API change].

Lua MediaBag module has been changed minimally. In the future
it would be better, probably, to give Lua access to the full
MediaItem type.
2021-05-24 09:20:44 -07:00
..
command Handle relative lengths (e.g. 2*) in HTML column widths. 2021-05-22 22:03:54 -07:00
docx Docx writer: copy over more settings from referenc.odcx. 2021-05-15 15:40:49 -07:00
epub Update tests for new texmath. 2021-03-15 18:22:38 -07:00
fb2 FB2 writer: do not wrap note references into <sup> and brackets 2019-05-15 13:31:07 +03:00
ipynb Revert "Ipnyb: allow lossless round-tripping of markdown cell content." 2020-07-02 09:03:56 -07:00
lua Add tests for search_path_separator 2021-02-02 21:04:30 -08:00
media
odt Treat tabs as spaces in ODT Reader. (#7185) 2021-03-31 16:44:34 -07:00
pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
tables LaTeX writer: revert table line height increase in 2.11.3. 2021-01-02 07:56:07 -08:00
Tests MediaBag improvements. 2021-05-24 09:20:44 -07:00
bodybg.gif
creole-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
creole-reader.txt
docbook-chapter.docbook docbook reader: fix nesting of chapters and sections (#5864) 2019-10-30 08:51:33 -07:00
docbook-chapter.native docbook reader: fix nesting of chapters and sections (#5864) 2019-10-30 08:51:33 -07:00
docbook-reader.docbook Fix DocBook reader mathml regression... 2021-03-24 12:04:33 -07:00
docbook-reader.native Docbook reader: implement <procedure> (#6442) 2020-06-14 10:45:52 -07:00
docbook-xref.docbook
docbook-xref.native
dokuwiki_external_images.dokuwiki
dokuwiki_external_images.native
dokuwiki_inline_formatting.dokuwiki
dokuwiki_inline_formatting.native
dokuwiki_multiblock_table.dokuwiki
dokuwiki_multiblock_table.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
haddock-reader.haddock
haddock-reader.native
html-reader.html HTML reader tests: improve test coverage of new features 2020-11-27 21:21:25 +01:00
html-reader.native HTML reader: keep h1 tags as normal headers (#7274) 2021-05-14 12:31:24 -07:00
insert
jats-reader.native Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
jats-reader.xml Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
jira-reader.jira Add jira reader (#5913) 2019-12-17 21:07:46 -08:00
jira-reader.native Use jira-wiki-markup 1.3.4 2021-03-13 14:53:58 +01:00
lalune.jpg
latex-reader.latex LaTeX reader test: Allow compilation of file (#5364) 2019-03-13 18:21:00 -06:00
latex-reader.native LaTeX reader: preserve center environment (#6852) 2020-11-26 12:04:31 -08:00
lhs-test-markdown.native
lhs-test.fragment.html+lhs
lhs-test.html Update test with new skylighting CSS. 2020-12-17 11:10:00 -08:00
lhs-test.html+lhs Update test with new skylighting CSS. 2020-12-17 11:10:00 -08:00
lhs-test.latex LaTeX template: move title, author, date up to top of preamble. 2021-05-16 14:35:13 -07:00
lhs-test.latex+lhs LaTeX template: move title, author, date up to top of preamble. 2021-05-16 14:35:13 -07:00
lhs-test.markdown
lhs-test.markdown+lhs
lhs-test.native
lhs-test.rst
lhs-test.rst+lhs
man-reader.man
man-reader.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
markdown-citations.native Markdown reader: Set citationNoteNum accurately in citations. 2020-09-21 10:10:37 -07:00
markdown-citations.txt
markdown-reader-more.native T.P.Parsing: modify gridTableWith' for headerless tables. 2021-01-07 11:07:03 -08:00
markdown-reader-more.txt
mediawiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
mediawiki-reader.wiki
movie.jpg
opml-reader.native
opml-reader.opml
org-select-tags.native
org-select-tags.org Replace org #+KEYWORDS with #+keywords 2020-11-18 14:48:56 +01:00
pipe-tables.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
pipe-tables.txt
rst-reader.native T.P.Parsing: modify gridTableWith' for headerless tables. 2021-01-07 11:07:03 -08:00
rst-reader.rst Add highlight directive to the rST reader (#6140) 2020-02-13 10:27:34 -08:00
s5-basic.html Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
s5-fancy.html Update s5-fancy.html test with new mathjax URL. 2020-10-10 11:15:35 -07:00
s5-fragment.html
s5-inserts.html Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
s5.native
tables-rstsubset.native T.P.Parsing: modify gridTableWith' for headerless tables. 2021-01-07 11:07:03 -08:00
tables.asciidoc
tables.asciidoctor Adds Asciidoctor sprcific writer and tests 2019-02-09 08:21:53 -08:00
tables.context
tables.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.docbook4
tables.docbook5
tables.dokuwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.fb2 Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.haddock Haddock Writer: Support Haddock tables 2020-04-20 13:57:36 +08:00
tables.html4
tables.html5
tables.icml
tables.jats_archiving JATS writer: support advanced table features 2020-11-19 22:09:52 +01:00
tables.jats_articleauthoring JATS writer: support advanced table features 2020-11-19 22:09:52 +01:00
tables.jats_publishing JATS writer: support advanced table features 2020-11-19 22:09:52 +01:00
tables.jira Jira writer: fix output of table headers 2020-01-07 22:11:51 +01:00
tables.latex LaTeX writer: revert table line height increase in 2.11.3. 2021-01-02 07:56:07 -08:00
tables.man
tables.markdown
tables.mediawiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.ms Ms writer: handle tables with multiple paragraphs. 2021-05-20 17:12:38 -07:00
tables.muse
tables.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.opendocument Place caption before table in OpenDocument format. (#5869) 2019-11-03 07:17:05 -08:00
tables.org Replace org #+KEYWORDS with #+keywords 2020-11-18 14:48:56 +01:00
tables.plain
tables.rst
tables.rtf Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.tei Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.texinfo
tables.textile Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.txt Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.xwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.zimwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
test-pandoc.hs Tests: Use getExecutablePath from base... 2021-03-19 23:35:47 -07:00
testsuite.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
testsuite.txt
textile-reader.native Fix typos in comments, doc strings, error messages, and tests 2020-10-14 22:26:51 +02:00
textile-reader.textile Fix typos in comments, doc strings, error messages, and tests 2020-10-14 22:26:51 +02:00
tikiwiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
tikiwiki-reader.tikiwiki
twiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
twiki-reader.twiki
txt2tags.native Update tests for changes to https URLs. 2021-02-26 18:00:45 -08:00
txt2tags.t2t Fix/update URLs and use HTTP**S** where possible (#7122) 2021-02-26 17:56:04 -08:00
vimwiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
vimwiki-reader.wiki Vimwiki reader: Add nested syntax highlighting (#6257) 2020-04-06 16:41:28 -07:00
writer.asciidoc Asciidoctor images (#6671) 2020-09-19 18:22:52 -07:00
writer.asciidoctor Asciidoctor images (#6671) 2020-09-19 18:22:52 -07:00
writer.context ConTeXt reader: improve ordered lists (#7304) 2021-05-20 09:59:53 -07:00
writer.custom Fix custom writer test. 2020-10-08 12:32:42 -07:00
writer.docbook4 Add test fixes for docbook writer changes. 2020-04-01 23:09:14 -07:00
writer.docbook5 Add test fixes for docbook writer changes. 2020-04-01 23:09:14 -07:00
writer.dokuwiki DokuWiki writer: translate language names for code elements... 2020-11-04 22:38:53 -08:00
writer.fb2 FB2 writer: do not wrap note references into <sup> and brackets 2019-05-15 13:31:07 +03:00
writer.haddock Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.html4 Default CSS tweaks. 2020-11-02 10:51:18 -08:00
writer.html5 Default CSS tweaks. 2020-11-02 10:51:18 -08:00
writer.icml ICML writer: fix image bounding box for custom widths/heights 2020-12-12 14:49:11 +01:00
writer.jats_archiving JATS writer: reduce unnecessary use of <p> elements for wrapping 2021-04-16 22:47:37 +02:00
writer.jats_articleauthoring JATS writer: reduce unnecessary use of <p> elements for wrapping 2021-04-16 22:47:37 +02:00
writer.jats_publishing JATS writer: reduce unnecessary use of <p> elements for wrapping 2021-04-16 22:47:37 +02:00
writer.jira Use jira-wiki-markup 1.3.4 2021-03-13 14:53:58 +01:00
writer.latex LaTeX template: move title, author, date up to top of preamble. 2021-05-16 14:35:13 -07:00
writer.man Man writer: suppress non-absolute link URLs. 2019-09-23 17:46:39 -07:00
writer.markdown Markdown writer: default to using ATX headings. 2020-11-14 21:33:32 -08:00
writer.mediawiki Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.ms Update tests for new texmath. 2021-03-15 18:22:38 -07:00
writer.muse Use doctemplates 0.3, change type of writerTemplate. 2019-07-28 19:25:45 -07:00
writer.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.opendocument Use latest doclayout. 2019-10-30 21:26:21 -07:00
writer.opml Markdown writer: fewer unneeded escapes for #. 2021-05-16 12:23:34 -07:00
writer.org Org writer: Use LaTeX style maths deliminators (#7196) 2021-04-01 23:36:02 +02:00
writer.plain Make plain output plainer. 2019-09-22 11:33:09 -07:00
writer.rst Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.rtf Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.tei
writer.texinfo Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.textile Changes to build with new doctemplates/doclayout. 2019-10-29 22:21:35 -07:00
writer.xwiki Add XWiki Support (#4167) 2019-04-02 17:27:02 -06:00
writer.zimwiki ZimWiki writer: allow links and emphasis in headers 2021-05-20 12:48:05 +02:00
writers-lang-and-dir.context ConTeXt reader: improve ordered lists (#7304) 2021-05-20 09:59:53 -07:00
writers-lang-and-dir.latex LaTeX template: move title, author, date up to top of preamble. 2021-05-16 14:35:13 -07:00
writers-lang-and-dir.native