İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3326 Görünümler

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
Vazgeç
Üretici

null

En İyi Yanıt

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
Vazgeç
Üretici

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?

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Oca 25
1813
2
Ara 24
2483
2
Kas 24
1576
1
Ağu 25
3571
2
Eyl 24
2113