Skip to Content
Menu
v 18.0 Third Party 61
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 6726
Technical Name web_widget_markdown
LicenseLGPL-3
Websitehttps://hxmelon.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 6726
Technical Name web_widget_markdown
LicenseLGPL-3
Websitehttps://hxmelon.com

Web Widget Text Markdown

为 Odoo 表单字段添加 Markdown Widget支持

主要功能

✨ 实时预览
支持 Markdown 实时编辑和预览切换,让您的文档编辑更加直观。
📝 完整语法支持
支持标题、列表、链接、代码块等常用 Markdown 语法。
🎨 美观的渲染效果
使用现代化的样式渲染 Markdown 内容,提供良好的阅读体验。

应用模块

编辑模式示例

预览模式

预览模式示例

使用方法

1. 在字段定义中使用
在 Python 模型中定义字段时,设置 widget 属性为 "bootstrap_markdown":
 description = fields.Text(string="描述")
2. 在视图中使用
在表单视图中使用 widget 属性:
<field name="description" widget="bootstrap_markdown"/>

技术支持

如果您在使用过程中遇到任何问题,请通过以下方式联系我们:

  • 📧 Email: 13655699934@163.com
  • 💬 Website: https://www.hxmelon.com

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.