Rich Text and Markdown Editing
The Docs tab includes a WYSIWYG (rich text) editor built on top of Markdown. You can use the following features to create your documentation:- Formatting text - Format text visually using a toolbar (headings, bold, italic, strikethrough, lists, task lists, tables, quotes, inline code, code blocks, undo/redo).
- Rich Text and Markdown - Toggle between rich text and markdown modes at any time, content stays synchronized because Markdown remains the underlying source of truth.
- Syntax-highlighted and Code blocks - Paste or insert code blocks with language auto-detection and a language selector (JavaScript, TypeScript, Python, JSON, YAML, SQL, Bash, and more). Highlighting follows the active Bruno theme.
- Syntax-highlighted Markdown editor - Use a syntax-highlighted Markdown editor when editing in Markdown mode.
- Video and Images - Embed videos and images that render correctly in both edit and preview.
- Copy code - Copy code from any block with the copy control, in both edit and preview modes.
Bruno sanitizes all HTML in documentation blocks before rendering. This prevents cross-site scripting (XSS) attacks when previewing markdown that contains embedded HTML. Elements like
script tags and inline event handlers are automatically removed.