Skip to content
Discussion options

You must be logged in to vote

We don't really have first-class support for this but the magic comment system could enable you to build it

https://docusaurus.io/docs/markdown-features/code-blocks#custom-magic-comments

We don't have a way currently to have "parametrized magic comments" but you can probably create magic comments for each number from 1 to 10 and that could be good enough for now? 🤔

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kayx23
Comment options

@slorber
Comment options

slorber Mar 23, 2023
Collaborator

@kayx23
Comment options

@kayx23
Comment options

Answer selected by kayx23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants