Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online playground? #447

Open
rauschma opened this issue Nov 1, 2019 · 7 comments
Open

Online playground? #447

rauschma opened this issue Nov 1, 2019 · 7 comments
Labels
📚 area/docs This affects documentation help wanted 🙏 This could use your insight or help 🙉 open/needs-info This needs some more info 🤞 phase/open Post is being triaged manually 🦋 type/enhancement This is great to have

Comments

@rauschma
Copy link

rauschma commented Nov 1, 2019

I find online playgrounds useful. For example, Pandoc’s playground: https://pandoc.org/try/

For Remark, this could work as follows:

  • Enter Markdown
  • See syntax tree or HTML

Optional:

  • Configure plugins, intermediate processing steps, etc.
  • Document an npx invocation that does something similar
@rauschma rauschma added 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Nov 1, 2019
@ChristianMurphy ChristianMurphy added 📚 area/docs This affects documentation 🔍 status/open 🦋 type/enhancement This is great to have and removed 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Nov 1, 2019
@ChristianMurphy
Copy link
Member

For seeing the AST checkout https://astexplorer.net
For a playground, as part of unifiedjs/unifiedjs.github.io#12, I've been looking at integrating https://runkit.com/home#notebooks to allow trying code samples live in browser.

PRs and other ideas are welcome!

@tomByrer
Copy link

tomByrer commented Nov 5, 2019

MDX has one partly:

https://mdxjs.com/playground

@ChristianMurphy ChristianMurphy added the help wanted 🙏 This could use your insight or help label Jan 7, 2020
@arobase-che
Copy link
Contributor

arobase-che commented Jan 23, 2020

@zestedesavoir too. Based on our needs, MD to ATX, HTML and LaTeX. Sorry about the french examples.

https://zestedesavoir.github.io/zmarkdown/

Based on a webpack version of our server.

@fazouane-marouane
Copy link
Member

Hi everyone,

I started prototyping a playground. It's very minimal for now, no visual styling, no plugins and no tweaking with options and it only has one output (html).

code can be found here: https://codesandbox.io/s/remark-playground-wmfor
preview of the playground: https://wmfor.csb.app/

I'll add more things to it if I find more time this week.

@ApayRus
Copy link

ApayRus commented Jan 27, 2021

why don't use codesandbox.io --> add dependency --> remark --> see all you need in console ))

@ChristianMurphy
Copy link
Member

The bug issue template now include several code sandbox playgrounds https://github.com/remarkjs/.github/blame/main/.github/ISSUE_TEMPLATE/1-bug.md#L37-L39

remark only (for markdown to markdown): https://codesandbox.io/s/remark-debug-ikwvx
remark and rehype (for markdown to html): https://codesandbox.io/s/remark-rehype-debug-4cz8v
react-markdown: https://codesandbox.io/s/react-markdown-debug-9n4eg

@wooorm wooorm added the 🙉 open/needs-info This needs some more info label Aug 4, 2021
@github-actions

This comment has been minimized.

@github-actions github-actions bot added the 🤞 phase/open Post is being triaged manually label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 area/docs This affects documentation help wanted 🙏 This could use your insight or help 🙉 open/needs-info This needs some more info 🤞 phase/open Post is being triaged manually 🦋 type/enhancement This is great to have
Development

No branches or pull requests

7 participants