Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 996 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 996 Bytes

gw2-tooltip-html

version license build

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.