Fork me on GitHub

You write in markdown

most tooltip libraries want HTML

<!-- no bueno for markdown -->
<span data‑some‑tooltip‑lib="your inline tooltip content">something</span>

annotater doesn’t fuss about

it will annotate mercilessly in any modern browser. Just give it a string.

include it

<script src="/path/to/annotater.js"><script>

use it

annotater({
    name: 'annotate mercilessly',
    tooltip: 'seriously, it will hunt down matches and pull them out of text nodes for you',
});