@Grab('com.madgag:markdownj-core:0.4.1')importcom.petebevin.markdown.*defproc=newMarkdownProcessor()deforiginal=$/This is Top Header---This is second Header===### This is topic#### Lists Item${(1..3).collect {"+ item${it}"}.join('\n')}and${(1..3).collect {"1. item${it}"}.join('\n')}#### Links+ [mike-neck's site](http://mike-neck.github.io/)+ [mike-neck's dq site](http://mikeneckdq.blog.fc2.com/)#### Html Tags<img src='//googledrive.com/host/0B4hhdHWLP7RRdHRGZ3ZrZU90Q00' style='width : 400px;'>#### Codesfunction `lists:reverse/1` returns a List.tag `<em>` means emphasis#### emphasis*em?***bold?**#### Blockquotes> This is a blockquotes> from here./$proc.markdown(original)
<p>This is Top Header
<hr/></p><p>This is second Header
===</p><h3>This is topic</h3><h4>Lists Item</h4><ul><li>item1</li><li>item2</li><li>item3</li></ul><p>and</p><ol><li>item1</li><li>item2</li><li>item3</li></ol><h4>Links</h4><ul><li><ahref="http://mike-neck.github.io/">mike-neck's site</a></li><li><ahref="http://mikeneckdq.blog.fc2.com/">mike-neck's dq site</a></li></ul><h4>Html Tags</h4><p><imgsrc='//googledrive.com/host/0B4hhdHWLP7RRdHRGZ3ZrZU90Q00'style='width : 400px;'></p><h4>Codes</h4><p>function <code>lists:reverse/1</code> returns a List.</p><p>tag <code><em></code> means emphasis</p><h4>emphasis</h4><p><em>em?</em></p><p><strong>bold?</strong></p><h4>Blockquotes</h4><blockquote><p>This is a blockquotes
from here.</p></blockquote>