Skip to content

Can I use mermaid.js? #8303

Answered by char0n
mcauto asked this question in Q&A
Nov 23, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@mcauto unfortunately you cannot. SwaggerUI uses https://www.npmjs.com/package/remarkable which only supports CommonMark as mandated by OpenAPI specification.

SwaggerUI is plugginable system thought, thus it should be possible to create plugin that overrides how MarkDown is rendered.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mathis-m
Comment options

Answer selected by mcauto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants