md-doc documentation
Table of contents
About
md-doc is a VSCode extension for Markdown compilation to self-contained HTML file. It's main usage is for creation of design documents or documentaion.
Installation
md-doc only requires modern browser and internet connection for initial load.
You can continue working even offline since the browser caches the files.
Diagrams
md-doc supports mermaid diagrams.
classDiagram
Customer "1" --> "*" Ticket
Student "1" --> "1..*" Course
Galaxy --> "many" Star : Contains
classDiagram
Customer "1" --> "*" Ticket
Student "1" --> "1..*" Course
Galaxy --> "many" Star : Contains
Syntax errors are dispalyed as-well.
classDiagram
Customer --@$@$@ Ticket
classDiagram
Customer --@@@ Ticket
Code
Use markdown backtics with language identifier ```js
console.log("Hello world!");
Alerts
Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
> Negative potential consequences of an action.
Footnotes
You can use footnote1
footnote[^1]
[^1]: This is a footnote.
Footnotes
-
This is a footnote. ↩
Tables
Cats | Dogs |
---|---|
3 | 2 |
|Cats|Dogs|
|-|-|
|3|2|
Images
You can embed images usign base64 encoding.

Section links
Link ganarates from two parts md-doc-
prefix and the header name.
Link to My Header
[Link to My Header](#md-doc-md-doc-documentation)