Improve embedded coding examples
未关闭
@bvaughn 已经在做这个了。
开始于 2017年11月6日。
difficulty: medium
in-progress
type: infra
type: website
- 主要语言
- JavaScript
- 星标
- 11.8k
- 派生
- 7.9k
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 11
描述
Follow-up for #245:
- Create a custom markdown tag (eg
[codesandbox:foo/bar](baz)) that generates our CodeSandbox links with default "Try it on CodeSandbox" text. (#251) - Import more of Dan's Codepen examples to the new
examplesfolder. - Use the new
gatsby-remark-code-replsplugin to create CodeSandbox links for the new examples. - Generated HTML could also include a link to view the file directly in GitHub. (Some people have expressed concerns that Codepen's interface is not great for screen readers, eg #38); cc @jenshedqvist and @StommePoes.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。