最好基于 markdown,包含代码高亮,目录组织,iframe 样例。
类似: https://www.chartjs.org/docs/latest/ (但是这个不带在线调试的例子)
https://echarts.baidu.com/examples/editor.html?c=scatter-simple (带调试的例子)
搜了下,发现有很多静态站点生成工具比如 hexo hugo jekyll 等,作为基本的文档是可以的,但是直接在页面中进行样例预览,好像没有,不知道通过插件能不能实现?