Advanced Markdown Capabilities
GFM (GitHub Flavored Markdown)
docmd supports GitHub Flavored Markdown extensions including:
Task Lists
Create interactive checklists:
- [x] Completed task
- [ ] Incomplete task
- [ ] Another item
- Completed task
- Incomplete task
- Another item
Autolinked References
URL and email addresses are automatically linked:
Visit https://docmd.io for more information.
Contact support@example.com for help.
Emojis
Use emoji shortcodes:
I :heart: docmd! :rocket: :smile:
I â¤ī¸ docmd! đ đ
Custom Attributes (IDs and Classes)
You can add custom IDs and CSS classes to headers, images, and links using curly braces {}.
Custom IDs
## My Header {#custom-id}
Custom Classes
You can assign classes to elements.
Note: You must define these classes in your own Custom CSS file.
## Styled Header {.text-center .text-red}
Links and Buttons
[Download Now](/download){.docmd-button}
Footnotes
You can add footnotes to your content for references or additional information[1].
Here's a statement that needs citation[^1].
[^1]: This is the footnote content.
Multiple footnotes can be used throughout your document[2], and the definitions can be collected at the bottom.
Definition Lists
Some Markdown parsers support definition lists:
Term
: Definition for the term.
: Another definition for the same term.
Another Term
: Definition of another term.
- Term
- Definition for the term.
- Another definition for the same term.
- Another Term
- Definition of another term.
Abbreviations
You can define abbreviations in your Markdown (depending on plugin support):
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
HTML is defined by the W3C standards.
HTML is defined by the W3C standards.
Container Extensions
Beyond standard Markdown, docmd provides custom containers for enhanced formatting.
These are detailed in the Custom Containers guide, and include:
Use containers for callouts, cards, and steps to structure your documentation.