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

add text-to-quarto-ast quarto API entries #6215

Merged
merged 5 commits into from
Jul 14, 2023

Conversation

cscheid
Copy link
Collaborator

@cscheid cscheid commented Jul 14, 2023

This adds quarto.utils.string_to_inlines and quarto.utils.string_to_blocks to our Lua API. These functions parse text and produce Pandoc AST including Quarto's custom AST nodes (shortcodes, callouts, etc.)

NB: these functions don't actually process the shortcodes (or render the extended nodes). This is by design, since these steps happen elsewhere in the filter chain.

@cscheid cscheid changed the title add text-to-quarto-art quarto API entries add text-to-quarto-ast quarto API entries Jul 14, 2023
@cscheid cscheid merged commit f7afffe into main Jul 14, 2023
7 checks passed
@cscheid cscheid deleted the feature/custom-ast-string-to-inlines branch July 14, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant