use of org.markdown4j.client.WebSequencePlugin in project blogwt by billy1380.
the class Processor method registerPlugins.
/* (non-Javadoc)
*
* @see org.markdown4j.client.MarkdownProcessor#registerPlugins() */
@Override
protected void registerPlugins() {
CachedIncludePlugin includePlugin = new CachedIncludePlugin(ensureManager());
includePlugin.setProcessor(this);
String mapsApiKey = PropertyController.get().stringProperty(PropertyHelper.MARKDOWN_MAPS_API_KEY);
if (mapsApiKey != null && mapsApiKey.trim().length() == 0) {
mapsApiKey = null;
}
registerPlugins(new WebSequencePlugin(ensureManager()), includePlugin, new GalleryPlugin(ensureManager()), mapsApiKey == null ? null : new MapPlugin(mapsApiKey, ensureManager()), new YoutubePlugin(), new FormPlugin(ensureManager()), new PostsPlugin(ensureManager()));
}
Aggregations