Repository navigation
Replies: 1 comment
|
I just looked at this again today and javascript rendering is already possible via |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello! I'm surprised it hasn't been brought up before (at least from my searches) but a feature I would like to see would be a javascript renderer for the code preview function. A lot of snippets I have depend on javascript to display properly so a JS renderer would be perfect.
For example:
MassCode

CodePen

As you can see, it is a night and day difference haha, making the preview feature nearly useless for more modern snippets that expand beyond plain html and css.
I would assume it hasn't been implemented for security reasons but I think it should be possible given things like codepen, JSFiddle, etc are able to execute javascript securely in a sandbox.
All reactions