A markdown project for bbs.byr.cn
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
css
js
LICENSE
README.md
index.html

README.md

bbs-markdown

A markdown project for bbs.byr.cn. But you can also use it in browsers. Based on marked & hightlightjs & jQuery

Usage

Browser

<!doctype html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>Marked in the browser</title>
  <style type="text/css" src="css/gfm-style.min.css"></style>
  <script src="http://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
  <script src="js/mdRender.js"></script>
</head>
<body>
  <pre class="markdown"># Helloworld
  </pre>
  <script>
    md_init();
  </script>
</body>
</html>

enjoy~