Text Highlight

Plugins for Flextype
Post Reply
User avatar
Awilum
Site Admin
Posts: 41
Joined: Fri Jul 05, 2019 11:43 pm
Location: Russia
Contact:

Text Highlight

Post by Awilum » Mon Jul 08, 2019 11:40 am

Text Highlight

Image Image Image

Text Highlight plugin allows you to highlight the most important parts of your content.

Installation
Unzip plugin to the folder /site/plugins/

Usage in page content

Highlight text

Code: Select all

[text-highlight]Text to highlight[/text-highlight]
Highlight text and set specific class

Code: Select all

[text-highlight class="class-name"]Text to highlight[/text-highlight]
Highlight text, set specific class and set colors

Code: Select all

[text-highlight class="class-name" background="red" color="white"]Text to highlight[/text-highlight]
Usage in the template

Highlight text

Code: Select all

{{ textHighlight('Text to highlight', 'class-name', 'red', 'white') }}
Settings
enabled: true or false to disable the plugin

Code: Select all

{
    "enabled": true
}
Download
https://github.com/flextype-plugins/tex ... t/releases

License
See https://github.com/flextype-plugins/tex ... er/LICENSE
I have founded the Flextype project and I am on the mission to build high quality web platform to develop fast, flexible, easier to manage websites with Flextype. Support me: https://www.patreon.com/awilum

Post Reply