html-filter
filter the markdown text for additional keywords and patterns
How to use
Currently I use the violentmonkey
extension for firefox to load this javascript extension on the gingkoapp website.
With Violentmonkey
- Install the
violentmonkey
extension for your browser - Create a new script in its dashboard
- Copy the contents from
examples/violent-monkey.js
into the script - Load the gingko-app homepage
- Enjoy
Define new replacements
Currently you just alter the REPLACEMENT
variable in the violent-monkey script.
For the moment there are only two additional filters that correspond to the pandoc-markdown
syntax:
{#xyz}
gets translated to an anchor with the namexyz
@xyz
gets translated to a hyperlink to the anchor calledxyz
Stay up to date
Using the violent monkey script you need to stay up to date with the new versions of the addon in src/html-filter.js
.