Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Markdown Field Widget v 20.0
  4. Sales Conditions FAQ

Markdown Field Widget

by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.ro
Odoo

$ 32.87

v 20.0 Third Party
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 19.0 20.0
You bought this module and need support? Click here!
Versions 19.0 20.0
  • Description
  • Manifest
  • License
Markdown Field Widget

Markdown Field Widget

Rich editing, raw Markdown storage

Odoo 20.0 Tools Odoo.sh • On-premise OPL-1
★ Happy with this module? A rating on this page helps other Odoo users find it and tells our developers what works. Thank you!
★ Leave a rating ↓
  • Overview
  • Usage
  • Versions
Overview

Markdown Field Widget adds a new OWL field widget — markdown — for any Text field in the Odoo backend.

It gives users a familiar WYSIWYG editing experience (bold, italic, strikethrough, headings, lists, quotes, code blocks, links), while keeping the stored value as raw Markdown. The text in the database stays portable, easy to version and perfectly readable outside of Odoo.

Conversions happen entirely in the browser, with no server-side dependency at runtime:

  • on load: Markdown → HTML (the marked library);
  • on save: HTML → Markdown (the turndown library).

Both libraries are bundled locally as UMD builds, so the module works offline and needs no external CDN.

✨ Key features

  • WYSIWYG toolbar: bold, italic, headings, lists, quotes, code blocks and links.
  • Stores raw Markdown — portable, diff-friendly and readable anywhere.
  • Instant MD ↔ HTML round-trip, fully client-side.
  • Honors readonly: in read-only mode it renders the Markdown as HTML, without the toolbar.
  • Configurable minimum editor height via the min_height option.

⚙️ Usage

<field name="notes" widget="markdown"/>
<field name="notes" widget="markdown" options="{'min_height': 300}"/>

Odoo Online

The module contains no Python code, only JavaScript, QWeb templates and a style sheet (the marked and turndown libraries are bundled with it). Besides Odoo.sh and on-premise installations, it can be used on Odoo Online (Custom plan): download the zip and load it from Apps > Import Module.

Usage

Declare the field as Text on your model:

notes = fields.Text(string="Notes")

Then use the markdown widget in the form view:

<field name="notes" widget="markdown"/>

Supported options:

  • min_height — minimum height of the editing area, in pixels (default 160):
<field name="notes" widget="markdown" options="{'min_height': 300}"/>

The widget honors readonly: in read-only mode it renders the Markdown as HTML, without the toolbar.

Editing. In edit mode the toolbar sits above the field; select text and press a button to format it. The value is saved as Markdown when you leave the field and save the record.

Form in edit mode: the Markdown toolbar (bold, italic, strikethrough, H1-H3, paragraph, lists, quote, code, link, clear formatting) above a text with a heading, a bulleted list, a link and a quote
1 Form in edit mode: the Markdown toolbar (bold, italic, strikethrough, H1-H3, paragraph, lists, quote, code, link, clear formatting) above a text with a heading, a bulleted list, a link and a quote

Read-only. The text is shown formatted, without the toolbar.

Read-only Markdown field showing a heading, a numbered list with bold items, a paragraph and inline code, with no toolbar
2 Read-only Markdown field showing a heading, a numbered list with bold items, a paragraph and inline code, with no toolbar

Safe display. Since 19.0.1.0.5 the HTML produced from the Markdown is sanitized before it is displayed, in edit and read-only mode, including for values stored earlier. Harmless inline HTML such as <kbd> or <mark> keeps its formatting; scripts, inline event handlers, javascript: links and embedded content (<iframe>, <object>, <embed>) are not displayed. Replace embedded videos or maps with a regular link.

Strikethrough, inline HTML such as <kbd> or <mark> and tables are not kept when the text is edited and saved: only standard Markdown is stored.

Read-only Markdown field where the Ctrl and S keys are boxed and a word is highlighted, while the embedded frame placed between the two paragraphs is not displayed
3 Read-only Markdown field where the Ctrl and S keys are boxed and a word is highlighted, while the embedded frame placed between the two paragraphs is not displayed
Versions

20.0.1.1.1 (2026-11-17)

  • Migration to 20.0 (Owl 3). The component props and the default minimum height are declared with useProps, and the editor reference uses signal.ref(). The Font Awesome icons of the toolbar are replaced by Odoo icons (oi with data-icon). The placeholder is taken from the field info prepared by the view (placeholder attribute or placeholder_field option), as the standard text field does in 20.0.
  • The module stays data-only and importable on Odoo Online (Apps > Import Module).

19.0.1.1.1 (2026-11-16)

  • Empty __init__.py restored: the OCA tools (manifestoo, oca-checks-odoo-module) do not recognize a module without it, so the CI of the suites that depend on this module failed. The module still has no Python code and still imports on Odoo Online.
  • Explicit Odoo Online marker: "online": true in static/description/banner.json (the banner no longer infers it from the missing .py files).

19.0.1.1.0 (2026-11-16)

  • Data-only module, importable on Odoo Online (Custom plan) from Apps > Import Module: the __init__.py files and the tests/ folder were removed, because Odoo Apps treats any .py file as Python code and does not list the module as available on Odoo Online.
  • The Python runner of the JavaScript tests (tests/test_js.py) and the screenshot test of the consultant sheet (tests/test_screenshots.py) were removed; the Hoot tests stay in static/tests/ and run with the web unit tests (/web/tests?filter=@deltatech_markdown_field).
  • The asset paths are listed file by file: an imported module rejects glob wildcards in asset paths.

19.0.1.0.7 (2026-11-14)

  • Apps Store banner: the "Odoo Online" badge shows that the module has no Python code and installs on Odoo Online.

19.0.1.0.6 (2026-11-08)

  • Fix: strikethrough, tables and task lists are no longer lost when the editor is left. The HTML → Markdown step now writes them back as ~~text~~, GFM tables (with column alignment) and [x] / [ ] items; a table Markdown cannot express (merged cells, lists or paragraphs in a cell) is kept as HTML instead of being flattened. Values already flattened by an earlier save cannot be recovered.

19.0.1.0.5 (2026-11-07)

  • Fix: the HTML produced from the Markdown is sanitized (DOMPurify) before it is displayed, in edit and in read-only mode. Scripts, inline event handlers, javascript: links and embedded content (<iframe>, <object>, <embed>) are removed; Markdown formatting and harmless inline HTML stay as they were.

19.0.1.0.4 (2026-10-22)

  • Listed on Odoo Apps as Markdown Field Widget (was Markdown Field). The technical name deltatech_markdown_field does not change.

19.0.1.0.3 (2026-10-12)

  • Fix: on servers with Python < 3.11 (rjsmin 1.1.0) the minified asset bundle broke on a regular expression of the vendored marked library (Invalid regular expression: /^*-+:*$/), stopping the backend in non-debug mode and the JS unit tests. The expression is now wrapped in parentheses, so it survives minification.

19.0.1.0.2 (2026-10-11)

  • Docs: emoji symbols added to the bold headings of the module description, for a uniform look on the Odoo Apps page. No code change.

19.0.1.0.1 (2026-09-29)

  • Own module icon, instead of the generic gears it had.
Missing a feature? Tell us in a comment on this page before you buy. If it is useful to other users too, we can add it to the module; if it is specific to your company, we will quote the customisation.
Leave a comment ↓
800+
Modules published on Odoo Apps
Odoo
Silver PartnerImplementation & Support

✓ Included in the Terrabit support subscription

If Terrabit is your Odoo implementation partner, your support subscription includes the right to use this module and every other Terrabit module, with no separate purchase. The modules are kept up to date with each new Odoo version and supported by the developers who build them.

Need help getting started?

Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.

Questions about this module? Write to us — the developers who build it will answer.

Terrabit support →

More apps by Terrabit

Other modules from the same publisher, built to work together. All apps →

DE Deltatech Tools

Shared base for the Deltatech suite: common technical extensions used by all modules

NQ No Quick Create Tools

Disable quick create in many2one fields; data-only, importable on Odoo Online

NS Notification Sound Tools

Play a different sound for success, warning, error and info notifications

PM Partner Merge in Bulk Tools

Find probably duplicated partners, and merge those on the same VAT number in bulk, in minutes

RR Restrict Reports Access Tools

Restrict Sales Analysis and Invoice Analysis reports by group: own records, all records, or no access.

TS Test System Indicator Tools

Set system status: test or production

WA Watermark Tools

Watermark field

AE Accounting Extensions Accounting & Finance

Extra invoice views, journal options and an Anglo-Saxon cost recognition setting

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1133
Technical Name deltatech_markdown_field
LicenseOPL-1
Websitehttps://www.terrabit.ro
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with