Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

segmentfault/HyperDown.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

这是 js 版本 HyperDown (使用CoffeeScript实现)

使用方法

nodejs 中使用

安装

npm install hyperdown

使用

HyperDown=require('hyperdown');varparser=newHyperDown,html=parser.makeHtml(markdownText);

浏览器中使用

直接引用Parser.js即可

<scriptsrc="yourpath/hyperdown/Parser.js"></script><script>varparser=newHyperDown,html=parser.makeHtml(markdownText);</script>

单元测试

npmtest

更多请参阅:php 版 Hyperdown

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp