Qui*_*ten 4 syntax text quarto
我想知道是否可以在没有 HTML 语法的情况下为文本添加下划线Quarto?~~您可以使用如下语法删除文本:
~~mytext~~
Run Code Online (Sandbox Code Playgroud)
输出:
所以我想知道是否可以使用与上面类似的语法在文本下划线?
如果你只想使用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)
| 归档时间: |
|
| 查看次数: |
1025 次 |
| 最近记录: |