| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 424 |
| Technical Name |
scribe |
| License | OPL-1 |
| Website | https://praetorx.net |
| Versions | 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 424 |
| Technical Name |
scribe |
| License | OPL-1 |
| Website | https://praetorx.net |
| Versions | 19.0 |
Scribe
Markdown Editor with Live Preview for Odoo 19
Type / in any Html field, select “Markdown”, and write in Markdown with a live
preview. Scribe converts to clean HTML and inserts it — tables, code blocks, task lists, and all.
Works on every Html field in every model. No configuration needed.
praetorx.net | Syntax & Sabotage
How It Works
Type / in any Html field and select “Markdown”. A two-panel dialog opens: write Markdown on the left, see live HTML preview on the right. Click “Insert” to convert and inject.
Client-side preview updates as you type using marked.js (GitHub Flavored Markdown). Server-side conversion uses Python markdown library with 6 extensions for the final insert.
Scribe patches HtmlField to include the Markdown plugin globally. Every Html field in every model gets the / Markdown command automatically. No per-field configuration.
The editor dialog uses a dark theme with monospace font for the input and styled preview. Adapts to Odoo’s dark mode automatically.
Supported Markdown
- Headers:
# H1through###### H6 - Bold, italic, ~~strikethrough~~
- Links:
[text](url) - Images:
 - Blockquotes:
> quote - Smart quotes and typography
- Ordered and unordered lists
- Task lists:
- [ ]/- [x] - GFM tables with alignment
- Fenced code blocks with syntax highlighting
- Inline code:
`code` - Table of contents generation
Technical Reference
| Component | Details |
|---|---|
| MarkdownPlugin | V19 html_editor Plugin — registers / powerbox command “Markdown” (fa-file-code-o icon) |
| MarkdownDialog | OWL component — two-panel XL dialog, textarea input + live preview, Insert/Cancel buttons |
| HtmlField patch | Adds MarkdownPlugin to every HtmlField’s plugin config globally |
| Client-side | marked.js v12 (GFM mode, breaks enabled) for live preview |
| Server-side | Python markdown library with 6 extensions: extra, codehilite, nl2br, sane_lists, smarty, toc |
| scribe.markdown.wizard | Transient model — markdown_text, html_preview (onchange), target_model/field/record_id for insertion |
Use Cases
Write documentation, SOPs, and how-to guides in Markdown. Tables and code blocks render cleanly in Odoo Knowledge.
Drop formatted tables, code snippets, or task lists into any chatter message or internal note field.
Fenced code blocks with syntax highlighting — paste API responses, config snippets, or SQL queries into description fields.
Draft structured email content in Markdown, preview the HTML, then insert into email template body fields.
Setup Guide
- Odoo 19.0 (Community or Enterprise)
- Python 3.10+
- Python package:
pip install markdown - Odoo modules:
web,html_editor
No PraetorX dependencies. Scribe is fully standalone — no praetorx_base, no Foundation, no other PraetorX modules required.
- Install the Python
markdownpackage:pip install markdown - Install from the Odoo Apps menu — search for “Scribe” or “Markdown”
That’s it. No configuration needed. The / Markdown command is immediately available in every Html field.
- Click into any Html field (description, notes, chatter, Knowledge article, etc.)
- Type
/to open the powerbox - Select Markdown (or type “markdown” to filter)
- Write Markdown on the left — live preview updates on the right
- Click Insert to convert and inject the HTML
FAQ
web and html_editor only — both included in Odoo Community. Works on Community, Enterprise, and Odoo.sh.HtmlField globally to include the Markdown plugin. Any field using the Html widget gets the / Markdown powerbox command — no per-field or per-model configuration needed.markdown with the extra extension (tables, fenced code blocks, footnotes) plus codehilite, nl2br, sane_lists, smarty, and toc.markdown package (pip install markdown). This is used for the server-side conversion when inserting. The live preview in the dialog uses the bundled marked.js library and does not need the Python package.web and html_editor (both standard Odoo modules). You can install Scribe without any other PraetorX module.```python) are converted with the codehilite extension, which integrates with Odoo’s bundled Prism.js for syntax highlighting.Release History
v19.0.1.1.11 — Current Release
Current Release
- Powerbox
/command “Markdown” in every Html field - Two-panel OWL dialog with live preview (marked.js v12)
- Server-side conversion with 6 Python markdown extensions
- GitHub Flavored Markdown: tables, task lists, fenced code blocks
- Code syntax highlighting via codehilite + Prism.js
- Dark mode support
- Global HtmlField patch — no per-field configuration
- German and French translations (de.po, fr.po)
- Ported from kulturhaus_markdown_support (Odoo 18)
You May Also Like
Branded backend theme with multi-tab navigation, sidebar, activity dashboard, and per-role color theming.
FreeMade with ♥ by Syntax & Sabotage
© 2026 Syntax & Sabotage, Lars Weiler. All rights reserved. OPL-1.
Impressum · support@syntaxandsabotage.io
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
Small change, huge relief.
Scribe brings Markdown support so copy paste from AI extracts suddenly look clean and well formated.
Smart move :)
There are no comments yet!