aboutsummaryrefslogtreecommitdiff
path: root/test/command/chap1
AgeCommit message (Collapse)AuthorFilesLines
2021-05-29Further test image size reductions.John MacFarlane1-0/+0
2021-05-27rebase_relative_paths: leave empty paths unchanged.John MacFarlane1-0/+2
2021-05-27rebase_relative_paths extension: don't change fragment paths.John MacFarlane1-0/+2
We don't want a pure fragment path to be rewritten, since these are used for cross-referencing.
2021-05-27Modify rebase_reference_links treatment of reference links/images.John MacFarlane1-0/+2
The directory is based on the file containing the link reference, not the file containing the link, if these differ.
2021-05-27Add `rebase_relative_paths` extension.John MacFarlane2-0/+11
- Add manual entry for (non-default) extension `rebase_relative_paths`. - Add constructor `Ext_rebase_relative_paths` to `Extensions` in Text.Pandoc.Extensions [API change]. When enabled, this extension rewrites relative image and link paths by prepending the (relative) directory of the containing file. - Make Markdown reader sensitive to the new extension. - Add tests for #3752. Closes #3752. NB. currently the extension applies to markdown and associated readers but not commonmark/gfm.