Strapdown.js - 实现实时和精美的Markdown文要

openkk 12年前

Strapdown.js 可以让你非常简单的创建优雅的 Markdown 文档,无需服务器端编译支持,只需要简单的复制 HTML 代码并修改标题和 Markdown 文本即可。

Features

  • Search-engine friendly
  • Cross-browser compatible (tested with mobile Safari, IE 8/9, Firefox, Chrome)
  • Github-style syntax highlighting
  • Themeable

<!DOCTYPE html>  <html>  <title>Hello Strapdown</title>  <xmp theme="united">  # Markdown text goes in here    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore  et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut  aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse  cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in  culpa qui officia deserunt mollit anim id est laborum.  </xmp>  <script src="http://strapdownjs.com/v/0.1/strapdown.js"></script>  </html>


项目主页:http://www.open-open.com/lib/view/home/1344908183256