grails-markdown / plugin.xml

Full commit
<plugin name='markdown' version='0.2.1' grailsVersion='1.3.7 &gt; *'>
  <author>Ted Naleid</author>
  <title>Grails Markdown Plugin</title>
A Grails plugin to provide tag library and service support for markdown.  It can be used both for converting markdown into HTML, as well as converting HTML back into markdown.

You can either use the body of the tag to hold the markdown:

&lt;markdown:renderHtml&gt;This is a *test* of markdown.&lt;/markdown:renderHtml&gt;


&lt;p&gt;This is a &lt;em&gt;test&lt;/em&gt; of markdown.&lt;/p&gt;

Or the "text" attribute:

&lt;markdown:renderHtml text="Yet **another** markdown test."/&gt;


&lt;p&gt;Yet &lt;strong&gt;another&lt;/strong&gt; markdown test.&lt;/p&gt;

It also adds a &lt;code&gt;markdownToHtml()&lt;/code&gt; method to the String class. 

See for syntax basics

Thanks to @dani_latorre for the patch adding markdownToHtml functionality on the String class.
  <dependencies />
  <behavior />