Using "code" to replace a custom string with a custom div #1327
Replies: 1 comment
-
Welcome @medbuddyaus! 👋 If you're looking to stay closer to markdown you could also consider using directives like https://github.com/remarkjs/remark-directive which is more standard. I'd avoid creating custom syntax like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like use the code implementation to replace a custom string within my Markdown e.g. {{{Hello}}} with a custom div e.g. "<Chip label="Hello" / " (omitting closing > otherwise it disappears when submitting).
I have played around with code but I can't even get a console output or change anything to test.
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions