antvis / gatsby-theme-antv

⚛️ Polished Gatsby theme for documentation site
https://gatsby-starter-theme-antv.antv.vision/zh
Other
344 stars 57 forks source link

支持在文档中插入 code playground #190

Closed afc163 closed 3 years ago

afc163 commented 4 years ago

实现方式可参考:https://github.com/antvis/gatsby-theme-antv/pull/119

afc163 commented 4 years ago

这个还蛮有用的,可以在 11.22 前搞一搞,给每个库的『上手文档』里都加个初始例子。

BBSQQ commented 4 years ago

这个还蛮有用的,可以在 11.22 前搞一搞,给每个库的『上手文档』里都加个初始例子。

好的

afc163 commented 3 years ago

https://x6.antv.vision/zh/docs/tutorial/getting-started

UI 可以参考一下 x6 这里的样式,做的很漂亮。

image
BBSQQ commented 3 years ago

https://x6.antv.vision/zh/docs/tutorial/getting-started

UI 可以参考一下 x6 这里的样式,做的很漂亮。

image
  • [ ] 支持 loading - 现在代码块执行挺快的,不需要 loading
  • [ ] 支持默认不展现代码区域 - 我认为可以加默认的代码块,这里两个作用看代码和看预览效果
  • [ ] 样式优化
  • [x] README 用法里补一个截图 - done

我现在给 pageLoading 加了 x6 的效果 https://antvis-gatsby-theme-antv-preview-pr-231.surge.sh/en

afc163 commented 3 years ago

已实现:https://github.com/antvis/gatsby-theme-antv/pull/225