-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
export some pandoc syntax helper #2331
Comments
I think that's a good idea. I'd probably move them to xfun, so they can be shared across more packages. |
FYI I just added a function |
Yihui Xie (9): close #83: move knitr::imgur_upload() to xfun::upload_imgur() forgot to suggest xml2 in the previous commit use R Markdown v1 for vignette shouldn't paste() here because `code` could be a vector of length > 1, and each line may be an incomplete expression update packages only in libraries that are writable by the current user close yihui/knitr#2331: provide a fenced_block() function to be reused in knitr and possibly pandoc/litedown add {} if any attribute contains = add a test for 5a63018c7cd9e31e84168536825bdf9d02d54215 CRAN release v0.43
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
I saw we have some helpers
knitr/R/hooks-md.R
Lines 228 to 238 in 031e08c
What about exporting
pandoc_div
in addition toknitr::raw_block
(which could probably be rewritten usingfenced_block()
🤔I often try to create some Divs or RawBlock as raw Markdow output, and having hepler function for that (support classes and attributes) can be useful.
I can also put them in quarto R package directly;
The text was updated successfully, but these errors were encountered: