gitbook-plugin-emphasize

1.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    250
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    250
  • 1.0.0
    2

Package Sidebar

Install

npm i gitbook-plugin-emphasize

Weekly Downloads

128

Version

1.1.0

License

Apache-2.0

Last publish

Collaborators

  • samypesse