Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests following Pandoc change in 2.18 #2334

Merged
merged 8 commits into from Apr 5, 2022
Merged

Update tests following Pandoc change in 2.18 #2334

merged 8 commits into from Apr 5, 2022

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Mar 17, 2022

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
Copy link
Collaborator Author

cderv commented Mar 17, 2022

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
Copy link
Collaborator Author

cderv commented Mar 22, 2022

I have disabled Pandoc daily checks waiting for this to be fixed
https://github.com/rstudio/rmarkdown/actions/workflows/check-pandoc-daily.yaml

@cderv
Copy link
Collaborator Author

cderv commented Apr 5, 2022

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
jonathan-g added a commit to jonathan-g/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