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 support of bulk redefinition of token renderers and token renderer prototypes in the \markdownSetup command using enumeration #361

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

Witiko
Copy link
Owner

@Witiko Witiko commented Oct 18, 2023

Continues #232.

Compared to the syntax described in #232 (comment), I settled on the following syntax:

\markdownSetup {
  renderers = {
    heading(One|Two|Three) = {...},
  }
}

This is more versatile than the original design and does not conflict with TeX braces.

@Witiko Witiko added feature request plaintex Related to the plain TeX interface and implementation quality of life Related to quality-of-life improvements to the interface expl3 Related to the high-level programming language expl3 labels Oct 18, 2023
@Witiko Witiko added this to the 3.2.0 milestone Oct 18, 2023
@Witiko Witiko marked this pull request as ready for review October 18, 2023 13:24
@Witiko Witiko merged commit 284f238 into main Oct 18, 2023
12 checks passed
@Witiko Witiko deleted the feat/renderer-enumeration branch October 18, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expl3 Related to the high-level programming language expl3 feature request plaintex Related to the plain TeX interface and implementation quality of life Related to quality-of-life improvements to the interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant