在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):SimonWaldherr/micromarkdown.js开源软件地址(OpenSource Url):https://github.com/SimonWaldherr/micromarkdown.js开源编程语言(OpenSource Language):JavaScript 45.5%开源软件介绍(OpenSource Introduction):convert markdown to HTML in under 5kb aboutLicense: MIT howtobrowser<script type="text/javascript" src="//simonwaldherr.github.io/micromarkdown.js/dist/micromarkdown.min.js"></script> var input = document.getElementById('input').value,
outputEle = document.getElementById('outEle');
outputEle.innerHTML = micromarkdown.parse(input); nodeinstall via npm npm install micromarkdown var mmd = require('micromarkdown');
console.log(mmd.parse('*foobar*\n**lorem** ***ipsum***\n\n* this\n* is a\n* list\n')); or take a look at the nodemmd.js node example node nodemmd.js demoTest this code on the associated github page simonwaldherr.github.io/micromarkdown.js/. contactFeel free to contact me via eMail or on Twitter. Pull Requests are always welcome. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论