在四开本中是否可以在没有 HTML 语法的情况下为文本添加下划线?

Qui*_*ten 4 syntax text quarto

我想知道是否可以在没有 HTML 语法的情况下为文本添加下划线Quarto~~您可以使用如下语法删除文本:

~~mytext~~
Run Code Online (Sandbox Code Playgroud)

输出:

在此输入图像描述

所以我想知道是否可以使用与上面类似的语法在文本下划线?

sha*_*fee 6

如果你只想使用CSS,你可以尝试以下,

---
format: html
---

## Quarto

[This text is underlined]{style="text-decoration: underline;"}
Run Code Online (Sandbox Code Playgroud)

带下划线的文字


但上述方法仅适用于 html 输出格式。如果您想获得 html、pdf 或 docx 输出的带下划线的文本,请尝试以下语法(由 pandoc 本身处理)

---
format: html # pdf or docx
---

## Quarto

[This text is underlined]{.underline}
Run Code Online (Sandbox Code Playgroud)