daniecas / azure-devops-mermaid-viewer

This Azure DevOps Extension allows to get a Preview for your Mermaid Diagram in your Code Repos
https://marketplace.visualstudio.com/items?itemName=DanieleCas.azure-devops-mermaid-viewer
MIT License
5 stars 2 forks source link

Could it be implemented for wiki ? #1

Closed warlof closed 8 months ago

warlof commented 8 months ago

Hi,

Can this extension also provide support for Wiki ?

Currently, the ::: mermaid tag provided natively by Azure DevOps is supporting a really outdated mermaid version which does not provide most of chart type :(

We're publishing our documentation as wiki in DevOps which might be more convenient that from the git repository :)

daniecas commented 8 months ago

Hi @warlof,

at the moment this extension support only rendering on Repos, by the way, if you need using Mermaid Diagram on Azure WiKi you can add text on md document and link your diagram with a reference on your code,

e.g. [My Mermaid Diagram](https://dev.azure.com/Tenant/Project/_git/Topic?version=GBbranch&path=/repos_path/myMermaidDiagram.mmd&_a=preview)

this approach is not the best at design side but it is really useful to keep Diagram Updated infact you can update you Diagram directly on git and forget your wiki page.

I hope this can help you