showdown/index.html

73 lines
3.5 KiB
HTML
Raw Normal View History

2015-04-30 09:02:53 +08:00
<!DOCTYPE html>
2015-05-29 23:38:07 +08:00
<html lang="en-us">
2015-04-30 09:02:53 +08:00
<head>
2015-05-29 23:38:07 +08:00
<meta charset="UTF-8">
<title>Showdown by showdownjs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
2015-04-30 09:02:53 +08:00
</head>
<body>
2015-05-29 23:38:07 +08:00
<section class="page-header">
<h1 class="project-name">Showdown</h1>
<h2 class="project-tagline">A JavaScript markdown converter. Extensible. Truthful.</h2>
<a href="https://github.com/showdownjs/showdown" class="btn">View on GitHub</a>
<a href="https://github.com/showdownjs/showdown/zipball/master" class="btn">Download .zip</a>
<a href="https://github.com/showdownjs/showdown/tarball/master" class="btn">Download .tar.gz</a>
</section>
2015-04-30 09:02:53 +08:00
2015-05-29 23:38:07 +08:00
<section class="main-content">
<p><strong>Showdown</strong> is a markdown parser and html converter with an attempt to stay <a href="https://github.com/showdownjs/showdown/wiki/divergences">as close as possible</a> to the <a href="http://web.archive.org/web/20110111145019/http://attacklab.net/showdown/">original</a>, while providing extensibility through a simple yet efficient <a href="https://github.com/showdownjs/showdown/wiki/extensions">plugin</a> facility. Tables, GitHub flavoured, and what not.</p>
2015-04-30 09:02:53 +08:00
<h2>
<a id="get-it" class="anchor" href="#get-it" aria-hidden="true"><span class="octicon octicon-link"></span></a>Get It</h2>
<pre><code>npm install showdown
# or
bower install showdown
</code></pre>
<h2>
<a id="use-it" class="anchor" href="#use-it" aria-hidden="true"><span class="octicon octicon-link"></span></a>Use It</h2>
<pre><code>var Showdown = require('showdown');
2015-05-29 23:38:07 +08:00
var converter = new showdown.Converter();
2015-04-30 09:02:53 +08:00
converter.makeHtml('#hello markdown!');
// &lt;h1 id="hellomarkdown"&gt;hello markdown!&lt;/h1&gt;
</code></pre>
<h2>
<a id="need-help" class="anchor" href="#need-help" aria-hidden="true"><span class="octicon octicon-link"></span></a>Need Help?</h2>
<ul>
<li><a href="https://github.com/showdownjs/showdown/wiki">Wiki</a></li>
<li><a href="https://groups.google.com/forum/#!forum/showdownjs">Google Group</a></li>
<li><a href="https://github.com/showdownjs/showdown/issues">Issues</a></li>
<li><a href="http://stackoverflow.com/questions/tagged/showdown">stackoverflow</a></li>
</ul>
<h2>
<a id="credits" class="anchor" href="#credits" aria-hidden="true"><span class="octicon octicon-link"></span></a>Credits</h2>
<ul>
<li><a href="http://web.archive.org/web/20110111145019/http://attacklab.net/showdown/">Showdown Copyright (c) 2007 John Fraser</a></li>
<li><a href="http://daringfireball.net/projects/markdown/">Original Markdown Copyright (c) 2004-2005 John Gruber</a></li>
</ul>
2015-05-29 23:38:07 +08:00
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/showdownjs/showdown">Showdown</a> is maintained by <a href="https://github.com/showdownjs">showdownjs</a>.</span>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
2015-04-30 09:02:53 +08:00
</footer>
2015-05-29 23:38:07 +08:00
</section>
2015-04-30 09:02:53 +08:00
2015-05-29 23:38:07 +08:00
2015-04-30 09:02:53 +08:00
</body>
</html>
2015-05-29 23:38:07 +08:00