github / cmark-gfm

GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C
Other
905 stars 173 forks source link

Allow code snippets in multiple programming language #196

Open mvysny opened 4 years ago

mvysny commented 4 years ago

Hello, building on https://github.com/gjtorikian/commonmarker/issues/124 , would it be possible to add support for having example code snippets in multiple programming languages, similar to https://yassir.dev/markdown-fenced-code-tabs/ please?

Thank you kindly :)

runspired commented 1 year ago

huge plus one

marlun78 commented 5 months ago

This would be very useful!! Especially in the JavaScript community where we have multiple runtimes (Node, Bun, Deno etc) and multiple package managers (npm, jsr, pnpm etc) plus with the rise of TypeScript, the markdown UI would benefit a lot from being able to display examples and instructions in a tabbed fashion.