-
documentation of the swift format: https://apple.github.io/swift-markdown/documentation/markdown/blockdirective TLDR @DirectiveName(key: value) {
hi i am some content
@MoreStuff
@YetMore {
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Apr 24, 2024
Replies: 1 comment
-
Not that I am aware of. To do that correctly, you’d need to integrate with micromark, the markdown parser. See its docs on extensions. But, I would recommend using directives or MDX instead. Both rather popular. It might not work with Swift tools, but it’ll work with more tools. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not that I am aware of.
To do that correctly, you’d need to integrate with micromark, the markdown parser. See its docs on extensions.
But, I would recommend using directives or MDX instead. Both rather popular. It might not work with Swift tools, but it’ll work with more tools.