How to underline a word in Markdown

How to underline a word in Markdown?

For example: bold = **bold**or __bold__, italic = *Italic*or _Italic_.

I tried with 2 and 3 underscores, but it does not work. Also tried taking the link markdown-it.js.

+8
source share
2 answers

Using the plugin ( markdown-it-ins)

You can use ++Underlined Text++to underline text in markdown-it.js. Keep in mind that this is not a standard markdown and may not work elsewhere. This work is demonstrated here on a website markdown-it.

( ) pluginalled markdown-it-ins. , .

HTML markdown

, , <u> HTML, HTML (, ). markdown-it , . .

+1

markdown HTML/CSS , , , :

text here <span style="text-decoration: underline">underlined text</span> other text

, , .

: md HTML-.

+1

Source: https://habr.com/ru/post/1680469/


All Articles