gw2-tooltip-html
v0.1.0
Published
Parses markup text from Guild Wars 2 tooltips to html.
Downloads
1,627
Maintainers
Readme
gw2-tooltip-html
Parses markup text from Guild Wars 2 tooltips to html.
Installation
Install this module with your favorite package manager, e.g. npm install gw2-tooltip-html
.
Usage
import { format } from 'gw2-tooltip-html';
format('<c=@abilitytype>Heat Threshold</c>')
// ⇒ '<span class="color-format--abilitytype">Heat Threshold</span>'
License
gw2-tooltip-html is licensed under the MIT License.