Skip to content

Instantly share code, notes, and snippets.

@osima
Created October 10, 2010 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osima/619068 to your computer and use it in GitHub Desktop.
Save osima/619068 to your computer and use it in GitHub Desktop.
Markdownの実装(markdownjを利用)
<h1>Hello World!</h1>
<ul>
<li>g100pon</li>
<li>gwcamp</li>
</ul>
// g100pon #15 Markdownの実装
//
// requirements :
// 1) download markdownj-1.0.2b4-0.3.0.jar from http://sourceforge.net/projects/markdownj/
// 2) locate jar file at ~/.groovy/lib/markdownj-1.0.2b4-0.3.0.jar
//
import com.petebevin.markdown.*
markdowntext = '''
# Hello World!
- g100pon
- gwcamp
'''
println new MarkdownProcessor().markdown(markdowntext)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment