Skip to content

How to read custom shortcodes? #1180

Answered by wooorm
reypm asked this question in Q&A
Jun 29, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

See the readme: https://github.com/remarkjs/remark-directive#use, https://github.com/remarkjs/remark-directive#examples, https://github.com/remarkjs/remark-directive#types.

But your input is not a container directive, this is:

:::custom-shortcode{id=some-link}
Content
:::

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@reypm
Comment options

@wooorm
Comment options

@reypm
Comment options

Answer selected by reypm
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