参数 | 类型 | 必填 | 说明 |
---|---|---|---|
url | URL地址字符串 | 是 | 取值:markdown文件地址,参数值以http/https开头 |
theme | 字符串 | 否 | 默认值:bootstrap, 取值范围:["amelia","bootstrap","cerulean","cyborg","journal","readable","simplex","slate","spacelab","spruce","superhero","united"] |
解析markdown的引擎来自: https://github.com/chjj/marked 部分样式来自 https://github.com/arturadib/strapdown 代码高亮来自 https://github.com/hongyangAndroid/Highlight