2015-04-30 09:02:53 +08:00
<!DOCTYPE html>
2016-11-29 10:01:15 +08:00
< html lang = "en-us" >
2015-04-30 09:02:53 +08:00
< head >
2016-11-29 10:01:15 +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 = 'https://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" >
< / head >
< body >
< section class = "page-header" >
< h1 class = "project-name" > Showdown< / h1 >
< h2 class = "project-tagline" > An extensible Markdown to HTML converter written in Javascript< / 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-05-29 23:38:28 +08:00
2016-11-29 10:01:15 +08:00
< section class = "main-content" >
< p > < img src = "https://raw.githubusercontent.com/showdownjs/logo/master/dist/logo.readme.png" alt = "Showdown" > < / p >
2015-05-29 23:38:28 +08:00
2016-11-29 10:01:15 +08:00
< p > Showdown is a Javascript Markdown to HTML converter, based on the original works by John Gruber. Showdown can be used client side (in the browser) or server side (with NodeJs). Check a live < a href = "http://showdownjs.github.io/demo/" > demo here< / a > < / p >
2015-05-29 23:38:28 +08:00
2016-11-29 10:01:15 +08:00
< h1 >
< a id = "who-uses-showdown" class = "anchor" href = "#who-uses-showdown" aria-hidden = "true" > < span aria-hidden = "true" class = "octicon octicon-link" > < / span > < / a > Who uses Showdown< / h1 >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< ul >
< li > < a href = "https://github.com/GoogleCloudPlatform" > GoogleCloudPlatform< / a > < / li >
< li > < a href = "https://ghost.org/" > Ghost< / a > < / li >
< li > < a href = "https://www.meteor.com/" > Meteor< / a > < / li >
< li >
< a href = "http://stackexchange.com/" > Stackexchange< / a > - forked as < a href = "https://code.google.com/p/pagedown/" > PageDown< / a >
< / li >
< li > < a href = "https://github.com/Vertafore/docular" > docular< / a > < / li >
< li > < a href = "https://www.npmjs.com/browse/depended/showdown" > and some others...< / a > < / li >
< / ul >
2015-05-29 23:38:28 +08:00
2016-11-29 10:01:15 +08:00
< h1 >
< a id = "get-it" class = "anchor" href = "#get-it" aria-hidden = "true" > < span aria-hidden = "true" class = "octicon octicon-link" > < / span > < / a > Get it...< / h1 >
2015-05-29 23:38:28 +08:00
2016-11-29 10:01:15 +08:00
< ul >
< li >
< strong > Download tarball:< / strong > download the latest release tarball directly from < a href = "https://github.com/showdownjs/showdown/releases" > releases< / a >
< / li >
< li >
< strong > CDN:< / strong >
2015-05-29 23:38:28 +08:00
2016-11-29 10:01:15 +08:00
< ul >
< li > rawgit: < code > https://cdn.rawgit.com/showdownjs/showdown/< version tag> /dist/showdown.min.js< / code >
< / li >
< li > cdnjs: < code > https://cdnjs.cloudflare.com/ajax/libs/showdown/< version tag> /showdown.min.js< / code >
< / li >
< / ul >
< / li >
< li >
< strong > Bower:< / strong > < code > bower install showdown< / code >
< / li >
< li >
< strong > npm:< / strong > < code > npm install showdown< / code >
< / li >
< li >
< strong > NuGet:< / strong > < code > PM> Install-Package showdownjs< / code > - < a href = "https://www.nuget.org/packages/showdownjs/" > NuGet package here< / a >
< / li >
< / ul >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< h1 >
< a id = "use-it" class = "anchor" href = "#use-it" aria-hidden = "true" > < span aria-hidden = "true" class = "octicon octicon-link" > < / span > < / a > Use it...< / h1 >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< div class = "highlight highlight-source-js" > < pre > < span class = "pl-c" > //node< / span >
< span class = "pl-k" > var< / span > showdown < span class = "pl-k" > =< / span > < span class = "pl-c1" > require< / span > (< span class = "pl-s" > < span class = "pl-pds" > '< / span > showdown< span class = "pl-pds" > '< / span > < / span > );
< span class = "pl-k" > var< / span > converter < span class = "pl-k" > =< / span > < span class = "pl-k" > new< / span > < span class = "pl-en" > showdown.Converter< / span > ();
< span class = "pl-k" > var< / span > htmlOutput < span class = "pl-k" > =< / span > < span class = "pl-smi" > converter< / span > .< span class = "pl-en" > makeHtml< / span > (< span class = "pl-s" > < span class = "pl-pds" > '< / span > *Hello* __World__< span class = "pl-pds" > '< / span > < / span > );< / pre > < / div >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< p > Check our < a href = "https://github.com/showdownjs/showdown/wiki" > wiki pages< / a > for a more in-depth documentation, such as < a href = "https://github.com/showdownjs/showdown/wiki/Showdown's-Markdown-syntax" > syntax support< / a > , < a href = "https://github.com/showdownjs/showdown/wiki/Tutorial:-Markdown-editor-using-Showdown" > examples< / a > , < a href = "https://github.com/showdownjs/showdown/wiki/extensions" > extensions< / a > , etc...< / p >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< hr >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< h1 >
< a id = "changelog" class = "anchor" href = "#changelog" aria-hidden = "true" > < span aria-hidden = "true" class = "octicon octicon-link" > < / span > < / a > < a href = "https://github.com/showdownjs/showdown/blob/master/CHANGELOG.md" > Changelog< / a >
< / h1 >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< h1 >
< a id = "credits" class = "anchor" href = "#credits" aria-hidden = "true" > < span aria-hidden = "true" class = "octicon octicon-link" > < / span > < / a > Credits< / h1 >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< p > Full credit list at < a href = "https://github.com/showdownjs/showdown/blob/master/CREDITS.md" > https://github.com/showdownjs/showdown/blob/master/CREDITS.md< / a > < / p >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< p > Showdown is powered by:< br >
< a href = "https://www.jetbrains.com/webstorm/" > < img src = "https://www.jetbrains.com/webstorm/documentation/docs/logo_webstorm.png" alt = "webstorm" > < / a > < / p >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +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 >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
< 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 >
2016-11-29 10:01:15 +08:00
< / section >
2015-04-30 09:02:53 +08:00
2016-11-29 10:01:15 +08:00
2015-04-30 09:02:53 +08:00
< / body >
< / html >