emphasize 文字底色
这个插件可以给书籍中的文本内容
加上特定的文字底色效果
。
配置使用方法:
{
"plugins": ["emphasize"]
}
简单的使用示例(markdown书籍中内容中):
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 %}
插件 Github 地址:https://github.com/GitbookIO/plugin-emphasize
效果预览:
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!