Created
November 13, 2011 01:21
-
-
Save lyhcode/1361439 to your computer and use it in GitHub Desktop.
Groovy + MarkdownJ (GrabResolver)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@GrabResolver(name='scala-tools', root='http://scala-tools.org/repo-releases') | |
@Grab('org.markdownj:markdownj:0.3.0-1.0.2b4') | |
import com.petebevin.markdown.MarkdownProcessor | |
def m = new MarkdownProcessor() | |
println m.markdown(''' | |
Heading | |
======= | |
* item1 | |
* item2 | |
* item3 | |
''') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment