How to add custom markdown?

Code line highlighting

Highlighting lines inside a code block.


const http = require('http')
const bodyParser = require('body-parser')

http.createServer((req, res) => {
  bodyParser.parse(req, (error, body) => {

Code Blocks

Group code blocks inside tabs.



const http = require('http')

http.createServer((req, res) => {
$ node server.js



Alerts help you in adding visually distinguished notes to catch user attention.


Dimer only needs markdown files to generate a documentation website. Say goodbye to complex build tools :wave:


To keep your documentation structured, we have added support for collapsible content


[collapse title=“Contact Us”]
You can contact us during weekdays (9am to 5pm) on our toll-free number.


name: Yashu Mittal

Mr. [%name%]

Mr. Yashu Mittal

Any comments for custom markdown?

This is plugin territory. You can write custom “tags” to do such things. In fact if you search around there are a few plugins that do some of the things above.

For example I have a simple plugin on my site that creates notices or alerts like the example you have above.

To use it in my Markdown files I add something like this:

{% notice %}
Call out some text. **Markdown** is acceptable.
{% endnotice %}

Which generates the following HTML:

<div class="notice">
  <p>Call out some text. <strong>Markdown</strong> is acceptable.</p>