-
I am trying to create a plugin to read shortcodes coming in the following format:
but I can't make this work properly. My code looks like this:
but nothing gets printed to the console. Here is a Codesandbox can I get some help and/or ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Jun 29, 2023
Replies: 1 comment 3 replies
-
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
::: |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
reypm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: