rust-playground
rust-playground copied to clipboard
presentation mode
i created a minimalistic presentation mode. most time if i give talks about languages i embed a live editor like the rust-playground.
when i tryed to embed the rust playground in my slides, i had some issues (small font, large header, ...).
the presentation mode is designed to be embedded as iframe to presentations. http://127.0.0.1:5000/?pageMode=presentation&code=example_code
for example slides like https://ashleygwilliams.github.io/a-very-brief-intro-to-rust/#18 could directly embed the rust playpen.

please review carefully, first time typescript and redux for me ;)
Thanks! A fair warning, but we are doing some UI rework in another branch (haven't gotten to a PR yet) which will probably get merged first, so there might end up being some conflicts. I'm also expecting a baby 👶 in the next few weeks, so there's a possibility it might be a little while before I have time to cycle back to this! If I don't respond within... I dunno, a month, please ping me to remind me!
In the meantime, there's some small lint errors. You can see them locally by running yarn test:lint.
@shepmaster i updated the PR :)
@timglabisch I'm interested in this feature as well... have you considered updating it to work with the new layout?