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

allow crossref types used by quarto #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jmbuhr
Copy link

@jmbuhr jmbuhr commented Jan 14, 2023

This makes it compatible with quarto cross references (https://quarto.org/docs/authoring/cross-references.html), which is built on top of pandoc but uses - to separate the type of the reference (like fig or eq) from the rest of the label.
The PR allows for both separators.

Further, it detects references created by code blocks via their label attribute (https://quarto.org/docs/reference/cells/cells-knitr.html#attributes)

@jmbuhr jmbuhr changed the title allow : or - to separate crossref types allow crossref types used by quarto Jan 14, 2023
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