Skip to content

Update tests following Pandoc change in 2.18 - #2334

Merged
cderv merged 8 commits into
mainfrom
pandoc-dev-update
Apr 5, 2022
Merged

cderv merged 8 commits into
mainfrom
pandoc-dev-update

Conversation

@cderv

@cderv cderv commented Mar 17, 2022

Copy link
Copy Markdown
Collaborator

id are added to TOC element now which produce raw HTML link in markdown

Close #2306

I got no anwser on Pandoc discuss so I guess this change is here to stay.

This should fix the CI then

id are added to TOC element now which produce raw HTML link in markdown
@cderv
cderv marked this pull request as draft March 17, 2022 17:04
@cderv

cderv commented Mar 17, 2022 •

Copy link
Copy Markdown
Collaborator Author

I need to wait for next Pandoc version to fix this so that I can test the version - currently Pandoc nightly build have the same version number than last release so that does not help.

I may need to reconsider also how we do snapshot testing for several pandoc versions 🤔

@cderv

cderv commented Mar 22, 2022

Copy link
Copy Markdown
Collaborator Author

@cderv

cderv commented Apr 5, 2022

Copy link
Copy Markdown
Collaborator Author

This should work now but nightly build of Pandoc is failing (https://github.com/jgm/pandoc/actions/runs/2094759820), so the nightly version installed is not yet 2.18.

I'll merge and this should solve by itself

@cderv
cderv marked this pull request as ready for review April 5, 2022 09:59
@cderv cderv changed the title Update snapshopt following Pandoc change Update tests following Pandoc change in 2.18 Apr 5, 2022
@cderv
cderv merged commit 6b6d26b into main Apr 5, 2022
@cderv
cderv deleted the pandoc-dev-update branch April 5, 2022 10:00
j-magnolia pushed a commit to j-magnolia/rmarkdown that referenced this pull request May 5, 2022
* jg-devel:
  use tufte::tufte_handout in test, and remove tufte_handout in doc
  mark tufte_handout() as defunct
  CRAN release v2.14
  typo in NEWS
  Update arrow.theme regarding accessibility
  Adapt test snapshots to last pandoc devel 2.18+ (rstudio#2349)
  Revert "remove from NEWS as pandoc devel reverted the change"
  remove from NEWS as pandoc devel reverted the change
  Support for `fold-none` class in `html_document()` (rstudio#2348)
  Support new scheme for Pandoc nightly build
  Add lua-based codefolding feature and apply it to html_vignette (rstudio#2340)
  `site_generator()` stops search at RStudio project root (rstudio#2345)
  Update CONTRIBUTING.md
  Update tests following Pandoc change in 2.18 (rstudio#2334)
  dirname('.') returns '.', which will cause infinite recursion, so normalize the relative path to absolute before the next recursion (fix rstudio#2339)
  Fix parsing by pandoc of last paragraph in shinyrmd doc (rstudio#2337)
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New issue with current Pandoc devel

1 participant