Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

feature-request: "Tidy" like in jsfiddle and "Collapse" like in plnkr #45

Open
dmitry-kurmanov opened this issue Aug 25, 2017 · 1 comment

Comments

@dmitry-kurmanov
Copy link

Hello! Thanks for the great idea and implementation! I've found it very useful!

It would be great if you will add these features:

  • "Tidy" like in jsfiddle
    de6acd12a4

  • "Collapse" like in plnkr
    2d5baf3150

@dmitry-kurmanov dmitry-kurmanov changed the title "Tidy" like in jsfiddle and "Collapse" like in plnkr Features request Features request -- "Tidy" like in jsfiddle and "Collapse" like in plnkr Aug 25, 2017
@dmitry-kurmanov dmitry-kurmanov changed the title Features request -- "Tidy" like in jsfiddle and "Collapse" like in plnkr feature-request: "Tidy" like in jsfiddle and "Collapse" like in plnkr Aug 25, 2017
@christianalfoni
Copy link
Member

@dmitrykurmanov Hi and glad it is useful :)

I do not have much time on my hands, but I see codemirror has a fold plugin. So that should be pretty simple. I think prettier would do a better job than beautify, as I think plnkr has. Anyways, actually was implementing it, but was not sure how to interact with it. But will solve it like CodeSandbox, just make a button.

Just doing some refactoring now, so will get to this as soon as I have time :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants