Show: An alternate to <Playground/>
See original GitHub issueHi,
I’m not really sure where this belongs, but I wanted to share it anyway.
I had 2 issues with the <Playground />
element provided by Docz, so I decided to build my own version.
My issues were
- I need to output the generated HTML that each react component will output.
- My client complained about the formatting of the and I found trying to edit the theme to be an absolute saga.
I have written my own helper to handle the displaying of code and elements - https://gist.github.com/Swapnull/b25fc0d408c9caade4bd3be59e3beb62
This allows me to use Prism themeing for the code block and decide if I display React/HTML for each element.
If somebody wants to create a theme to include this, be my guest, but maintaining a docz theme is a chore due to to constant updates and bug fixes you need to find time to merge in.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Show: An alternate to <Playground/> · Issue #164 · doczjs/docz
I need to output the generated HTML that each react component will output. My client complained about the formatting of the and I...
Read more >PlayGround Alternatives: 25+ Music Production and similar apps
The best PlayGround alternatives are LMMS, FL Studio and Reaper. Our crowd-sourced lists contains more than 50 apps similar to PlayGround ...
Read more >40 Synonyms of PLAYGROUND | Merriam-Webster Thesaurus
Synonyms for PLAYGROUND: playland, hotbed, hot spot, hive, headquarters, center, mecca, central, kernel, capital.
Read more >7 of the Best Code Playgrounds & CodePen Alternatives
1. CodePen · 2. JSFiddle · 3. JS Bin · 4. CSS Deck · 5. CodeSandbox · 6. PLAYCODE · 7. Plunker.
Read more >Top Playground Alternatives, Competitors - CB Insights
See how Playground compares to similar products. Playground's top competitors include Nymiz, and Syntonym. ... Nymiz develops a software tool that anonymizes and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll close this issue and split up it in two others on our roadmap Please give us your vote there @Swapnull 🙏
@pedronauck How to enable tabs to show HTML? The same example of @Swapnull ?