Skip to content

GitbookIO/plugin-emphasize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Emphasize and highlight specific part of your content

Resources

License

Stars

Watchers

Forks

Packages

No packages published