Show markdown file?

I’m wondering if it’s possible somehow to display a markdown file in a UDCard or similar?
I just want to link it to the .md file and then render it as plaintext like in Readme files at GitHub.

1 Like

There is UDmarkdown: Ironman Software Marketplace - UniversalDashboard.Markdown

There is also markdiag which could convert the markdown to HTML on the fly and then you can use New-UDHtml.

1 Like

So my guess is that it’s some kind of PS module for this but I can’t find it.
My thought was that I could Import this module in a PSU Schedule job that convert the .md file to .html file every xx minute or similar if it’s a new .md file added but I might have been mistaking or the lack of sleep are not to my favour.

Found this post when searching for the other .md post! Powershell 7 has ConvertFrom-Markdown so you can do this without any extra modules.

If we had a Markdown editor component like this GitHub - uiwjs/react-md-editor: A simple markdown editor with preview, implemented with React.js and TypeScript. the UD could be a pretty cool documentation platform.

1 Like