Emphasize

Gitbook 插件:为文字加上底色

插件地址

{"plugins": [
    "emphasize"
]}

使用示例


{% raw %}

This text is {% em %}highlighted !{% endem %}

This text is {% em %}highlighted with **markdown**!{% endem %}

This text is {% em type="green" %}highlighted in green!{% endem %}

This text is {% em type="red" %}highlighted in red!{% endem %}

This text is {% em color="#ff0000" %}highlighted with a custom color!{% endem %}

{% endraw %}

显示的效果:

This text is highlighted !

This text is highlighted with markdown!

This text is highlighted in green!

This text is highlighted in red!

This text is highlighted with a custom color!

results matching ""

    No results matching ""