See
ContributedFilters
Overview#
This plugin uses:
http://www.emoji-cheat-sheet.com
to create Emoticon icons on the page, using
postTranslate
Setup#
- Place the jar file into your <tomcatDir>/webapps/JSPWiki/WEB-INF/lib/ directory
- Add the following to your <tomcatDir>/webapps/JSPWiki/WEB-INF/classes/filter.xml file:
<?xml version="1.0"?>
<pagefilters>
... Any other filters ...
<filter>
<class>com.digitalspider.jspwiki.filter.EmojiFilter</class>
<param>
<name>iconsize</name>
<value>20</value>
</param>
<param>
<name>cssclass</name>
<value>emoji</value>
</param>
</filter>
</pagefilters>
Usage#
- Add the following to your page:
:::smiley::: - :::train::: - :::heart::: - :::musical_note::: - :::bowtie:::
<span class="emoji">
<img height="20" weigth="20" src="[http://www.emoji-cheat-sheet.com/graphics/emojis/smiley.png]">
</span>
-
<span class="emoji">
<img height="20" weigth="20" src="[http://www.emoji-cheat-sheet.com/graphics/emojis/train.png]">
</span>
...
- Ouputs: :::smiley::: - :::train::: - :::heart::: - :::musical_note::: - :::bowtie:::
Notes#
Some other links:
Properties#
Release History#
v0.1