Improve embedded coding examples
Open
@bvaughn is already working on this.
Since Nov 6, 2017.
difficulty: medium
in-progress
type: infra
type: website
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.