Basedoc Docs

Search...
K
Changelog

Syntax highlighting

March 20, 2026

Basedoc now supports syntax highlighting for code blocks in your Markdown files, improving the readability of your documentation.

To use syntax highlighting, add a language identifier to the code block.

Markdown
```javascript
const example = "Hello, world!";
console.log(example);
```

The code above will be rendered as follows:

JavaScript
const example = "Hello, world!";
console.log(example);

© Basedoc Docs

Powered by Basedoc