Closed markknol closed 9 years ago
It's online ! I've also integrated it to the main page ;) Great work, thanks !
@markknol why embed use another code styling (color)?
@clemos nice! Great stuff! @profelis good point, ill look into that soon, it uses different systax highlighter. @anissen well, start contributing today :)
I agree with @profelis, it would be nice for the widget template to have the same look and feel than try-haxe, which means using bootstrap for the UI, and CodeMirror for the code. Also, now that I see it in an actual iframe, I think it would be nice to have a less intrusive UI (no black header, lighter or smaller logo, maybe use bootstrap tabs instead of buttons, ...). @markknol let me know if I can help.
This patch will make haxe-users be able to embed the try-haxe code on their website/blog. It will look like this: Features: view,run source and an option to edit it using a link back to try-haxe.
I will provide a nice wiki-page for users to know how to embed it when it's up and running.
At the moment it works with /app/embed/UID. In ideal cases it will be /embed/UID, as discussed. I hope you can find time to move the /app/ to the root folder. I tried to make that work, without success.