menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right node_modules chevron_right gitbook-plugin-emphasize
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    lightbulb_outline README

    Emphasize texts in GitBook

    Emphasize and highlight specific part of your content

    How to use it?

    Configure the plugin in your book.json:

    {
        "plugins": ["emphasize"]
    }

    Then in your markdown/asciidoc content, highlight some text using:

    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 %}