-
I'm trying to migrate mdx v1 with remark-admonitions into mdx v3 with remark-directive. According to https://github.com/elviswolcott/remark-admonitions?tab=readme-ov-file#usage What i've tried so far is: In MDX v3 with remark-directive:
...works, however:
... doesn't. Is there any chance we can make it? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Oct 2, 2024
Replies: 1 comment 1 reply
-
Hi! No, the syntax is different. Intentionally so. Perhaps regex for |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jinjiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! No, the syntax is different. Intentionally so. Perhaps regex for
:::(\w+) (.+)
and replace by:::\1[\2]
.