reactjs / reactjs/react.dev

Improve embedded coding examples

未关闭
#246 3 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

@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 examples folder.
  • Use the new gatsby-remark-code-repls plugin 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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。