Fix pagebreak feature that currently broke last quarto release for qmd with knitr #760
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was first reported in https://community.rstudio.com/t/error-while-rendering-first-quarto-document/135656/6
I can reproduce this error by rendering
hello.qmd
with latest github release of quarto 0.9.324The distribution does not bundle anymore the lua filter, which breaks the Pandoc rendering.
I see this morning that there was some work yesterday on pagebreak by @cscheid, which was reverted at some point. (3f03dbc, 263380c, faeaf59, e47e54f which all follow #740). Except for the
prepare-dist.ts
change. This PR fixes this by putting back the rmarkdown pagebreak filter in the distribution.I did not found PR for the pagebreak feature, so less easy to revert everything, but I think this is the last change missing to be revert.
@jjallaire I don't know yet how to build a new release so I am doing this PR for you to see and rebuild a working release.
Regarding pagebreak feature, I adapted the filter for rmarkdown, so you need help making it work more generally for all format, do not hesitate.