Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3321 Vistas

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

Mejor respuesta

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?

Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 25
1808
2
dic 24
2480
2
nov 24
1575
1
ago 25
3571
2
sept 24
2112