其他分享
首页 > 其他分享> > Markdown 扩展语法

Markdown 扩展语法

作者:互联网

Markdown 扩展语法

Yarn Note 编辑器

标签页(markdown-it)

:::: group 分组名称
::: group-item Tab 1
test 1
:::
::: group-item *Tab 2
test 2
:::
::: group-item Tab 3
test 3
:::
::::

:::: group 分组名称
::: group-item Tab 1
test 1
:::
::: group-item \*Tab 2
test 2
:::
::: group-item Tab 3
test 3
:::
::::

VS Code Markdown Extended 扩展语法

打印设置

文件顶部

---
puppeteer:
  pdf:
    format: A4
    displayHeaderFooter: true
    margin:
      top: 1cm
      right: 1cm
      bottom: 1cm
      left: 1cm
  image:
    quality: 90
    fullPage: true
---

contents goes here...

Admonition

note | summary, abstract, tldr | info, todo | tip, hint | success, check, done | question, help, faq | warning, attention, caution | failure, fail, missing | danger, error, bug | example, snippet | quote, cite

!!! note

This is the **note** admonition body

!!! danger Danger Title
    This is the **danger** admonition body
!!! note

    This is the **note** admonition body

    !!! danger Danger Title
        This is the **danger** admonition body

!!! danger ""
This is the danger admonition body

markdown-it-container

依赖配置

"markdown.styles": [
    "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
]

::::: container
:::: row
::: col-xs-6 alert alert-success
success text
:::
::: col-xs-6 alert alert-warning
warning text
:::
::::
:::::

::::: container
:::: row
::: col-xs-6 alert alert-success
success text
:::
::: col-xs-6 alert alert-warning
warning text
:::
::::
:::::

markdown-it-abbr

The HTML specification
is maintained by the W3C.

*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
The HTML specification
is maintained by the W3C.

markdown-it-attrs

item bold red{style="color:red"}

item **bold red**{style="color:red"}

markdown-it-kbd

[[Ctrl+Esc]]

[[Ctrl+Esc]]

标签:Markdown,group,danger,扩展,alert,语法,item,markdown,Tab
来源: https://www.cnblogs.com/arich/p/16657715.html