 | Plugin Availability
The Akismet plugin is available in the blojsom add-on bundle. This is a separate download from the blojsom.war file. |
Description
The Markdown plugin uses the Markdown text-to-HTML conversion tool to allow you to use its syntax for writing blog entries. The Markdown plugin calls out to the Markdown tool using Perl, so you will also need to be able to run Perl on your blog server.
Installation and Setup
After downloading the blojsom add-on bundle, copy the blojsom-addon-plugins-{version}.jar and markdown-j-1.0.2b4-0.3.0.jar file into your /WEB-INF/lib directory.
In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:
<bean id="markdown" class="org.blojsom.plugin.markdown.MarkdownPlugin" init-method="init" destroy-method="destroy">
<property name="servletConfig">
<ref bean="servletConfigFactoryBean"/>
</property>
</bean>
You may then add "markdown" to one of the flavor-based plugin chains.
The Markdown plugin can also be run on entries by using the Meta plugin before the Markdown plugin in one of the flavor-based plugin chains. The metadata key for the Markdown plugin would be specified as meta-run-markdown=y on a separate line in your blog entry text.