Skip to Content
Menú
This question has been flagged
1 Respondre
3330 Vistes

I've created an elearning course where I added a Section with a content document of "Web Page" which displays the text that I place into the "Description" tab.

Is there a way for me to either use code or markup to some of that text in the Description to indicate; bold, italic etc?

Avatar
Descartar
Autor

null

Best Answer

Yes, you can use markup or code in the "Description" field of an elearning course section in Odoo to indicate formatting such as bold, italic, or other styles. There are a few different ways to do this, depending on the type of markup or code you want to use. Here are some options:

  1. Use HTML tags: You can use HTML tags to format the text in the "Description" field. For example, to make the text bold, you can use the or tags, like this:
Copy codeThis text is bold.

To make the text italic, you can use the or tags, like this:

Copy codeThis text is italic.

You can use other HTML tags to apply additional formatting, such as headings, lists, links, and more.

  1. Use Markdown syntax: If you prefer to use a simpler syntax, you can use Markdown syntax to format the text in the "Description" field. Markdown is a lightweight markup language that uses a set of simple symbols to format text. For example, to make the text bold, you can use two asterisks or underscores before and after the text, like this:
Copy codeThis text is **bold**.

To make the text italic, you can use a single asterisk or underscore before and after the text, like this:

Copy codeThis text is *italic*.

You can use other Markdown syntax to apply additional formatting, such as headings, lists, links, and more.

  1. Use a rich text editor: If you want to use a more visual approach, you can use a rich text editor to format the text in the "Description" field. A rich text editor is a tool that allows you to apply formatting to the text using buttons or menus, rather than typing code or markup. Many elearning platforms, including Odoo, have a rich text editor built in, so you can use it to format the text in the "Description" field without having to know any HTML or Markdown.

I hope this information is helpful. If you have any further questions or need additional guidance, please don't hesitate to ask.


Avatar
Descartar
Autor

So I've tried all suggested markdown and format, copy paste from a rich text editor. The markdown gets written verbatim, and the rich text formatting gets stripped when pasted.

I'm on CE 13, perhaps that has something to do with my inability to make my changes?

Related Posts Respostes Vistes Activitat
1
de gen. 25
1814
2
de des. 24
2485
2
de nov. 24
1576
1
d’ag. 25
3573
2
de set. 24
2114