Convert Markdown Content to NinjaOne's Source Format for Documentation.
View it Here: https://graphichealer.github.io/Markdown2NinjaOne/
- Paste or Write Markdown in the Left Textbox
- Click the Copy button on the upper-right of the Right Textbox.
- Open NinjaOne and go to the
Knowledge Base
. - Click
Add > New Document
. - On the new doc page, click
Source
, select all (ctrl+a
), then Paste the copied HTML in. - Click
Source
again, then hitSave
.
If you have any images in your markdown, this converter will replace them with black and yellow text.
NinjaOne requires a direct upload, and won't support embedded images in Source.
Just replace these blocks of text with the images referenced.
Here are the resources I used to build this HTML page:
- This editor was a GODSEND. It sped up my testing by ALOT: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
- Mozilla's MDN is AWESOME: https://developer.mozilla.org/en-US/docs/Web
- Icons I used: https://phosphoricons.com/
- Syntax Highlighting: https://github.com/highlightjs/highlight.js
- The Markdown Parser I used: https://github.com/markdown-it/markdown-it
- THIS is what is doing ALL the grunt work. READ THE DOCS. That is how you adapt normal Markdown to Ninja's ANNOYING HTML Layout.
This converter works with pretty much everything markdown related that NinjaOne's editor supports, with a couple of minor exceptions.
- Images, because of a limitation of the Editor Itself
- Code Blocks are currently broken in NinjaOne's Editor! They do not render correctly no matter how you use them!
If you are a NinjaOne user, and you know some JavaScript, You are welcome to help out! Just submit a Pull Request!