Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mermaid diagram for content fetched from Discourse #13192

Open
deusebio opened this issue Oct 2, 2023 · 3 comments
Open

Add support for mermaid diagram for content fetched from Discourse #13192

deusebio opened this issue Oct 2, 2023 · 3 comments
Labels

Comments

@deusebio
Copy link

deusebio commented Oct 2, 2023

Summary

Some of the documentation that is fetched from Discourse contains mermaid diagrams. Support for these have been added to other frontend platforms (e.g. charmhub.io, see here). It would be nice to have the same functionality in ubuntu.com as well.

Examples are:

Current and expected result

Right now mermaid diagram are rendered showing the code, e.g. https://ubuntu.com/data/docs/postgresql/k8s/e-charm. It would be nice to render them similarly to charmhub.io: https://charmhub.io/postgresql-k8s/docs/e-charm

@immortalcodes
Copy link
Member

Hey @deusebio ,
The pages that you have linked here no longer exists, could you please help find new pages so this could be understood better.
Thanks

@immortalcodes
Copy link
Member

Hey @deusebio , I am closing this issue but please feel free to re-open with more context and updated links

@deusebio
Copy link
Author

deusebio commented Oct 3, 2024

Sorry I've been travelling in the past few days. Here is an example:

Charmhub

ubuntu.com

Could you please re-open @immortalcodes ?

@immortalcodes immortalcodes reopened this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants