Skip to content

Commit f56d886

Browse files
committed
updated readme
1 parent 9ab1f3c commit f56d886

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ You can optionally specify annotator.js options:
3030

3131
You can enable annotator [plugins](http://docs.annotatorjs.org/en/v1.2.x/plugins/index.html) e.g.:
3232

33-
<div mw-annotator annotator-tags="{}" annotator-permissions="{user: 'Alice'}" annotator-store="storeOptions" annotator-filter="filterOptions" annotatorMarkdown="true"></div>
33+
<div mw-annotator annotator-tags="{}" annotator-permissions="{user: 'Alice'}" annotator-store="storeOptions" annotator-filter="filterOptions" annotatorMarkdown="true"></div>
34+
35+
You can also enable any custom plugins e.g.:
36+
37+
<div mw-annotator annotator-plugins="[{name: 'Store', options: storeOptions}, 'Tags', 'AnnotatorViewer']"></div>

0 commit comments

Comments
 (0)