Last active
March 7, 2021 02:21
-
-
Save zachleat/542f1d15c2061fc3cf4c0bc30c3b9bac to your computer and use it in GitHub Desktop.
Queue Code Starter Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Queue Code | |
https://queuecode.zachleat.dev/ | |
Usage: | |
- Press any key to reveal the next character of source code. Use delete to hide characters. | |
- Use the `url` query param to point to a different source code file. | |
e.g. https://queuecode.zachleat.dev/?url=https://gist.githubusercontent.com/zachleat/a7393810acf7890e6bef6a34eaa7b78c/raw/smoothscroll.css | |
- Use the `format` query param to set the syntax. Not required if `url` ends in .html .js or .css | |
- Use the `autoplay` query param to show all of the code. | |
- Use `autoplay=1` to reveal the code progressively (1 is the slowest speed, higher numbers will type faster) | |
- Press ` to skip to the end and show all of the code. | |
- Use the `highlightonly` query param to skip all of this nonsense and just show the plain syntax highlighted code. | |
Project source code: https://github.com/zachleat/queue-code | |
*/ | |
alert("Hello world."); | |
// The default README gist `url` | |
location = "?url=https://gist.githubusercontent.com/zachleat/542f1d15c2061fc3cf4c0bc30c3b9bac/raw/queuecode.js"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment