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) => {
res.end(body)
})
}).listen(3000)
Code Blocks
Group code blocks inside tabs.
[codegroup]
const http = require('http')
http.createServer((req, res) => {
}).listen(3000)
$ node server.js
[/codegroup]
Alerts
Alerts help you in adding visually distinguished notes to catch user attention.
[tip]
Dimer only needs markdown files to generate a documentation website. Say goodbye to complex build tools
[/tip]
Collapse
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.
[/collapse]
Variables
---
name: Yashu Mittal
---
Mr. [%name%]
Mr. Yashu Mittal