Last active
October 18, 2018 02:18
-
-
Save nqthqn/6cc7c26c9d933d9dfc6c95d45284501a to your computer and use it in GitHub Desktop.
code step throughs — a format for presenting lines of code in a beautiful way
This file contains hidden or 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
| repo: https://github.com/elm-eug/live-polls | |
| show: /blob/master/src/Poll.elm#L18-L20 | |
| emph: L18 | |
| emph: L19 | |
| show: /blob/master/src/Poll.elm#L29-L43 | |
| emph: L29-L32 | |
| emph: L41,L43 | |
| show: /blob/develop/src/Main.elm#L23-L26 | |
| emph: L24 | |
| emph: L25 | |
| emph: L26 | |
| done: Thanks for watching | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
repospecifies what repository you are pulling from, maybe not necessary if you are pulling code examples from multiple placesshowspecifies what code block is on screenemphspecifies which lines to emphasizedonewould be a string that you could put as the last slideshowmust come beforeemphandemphmust only emphasize lines in the range fromshow.-means "through" and,means "and". Soemph: L29-L32means emphasize lines 29-32. andemph: L41,L43means emphasize lines 41 and 43.Maybe the
Lcould be left off, mayberepoanddonecould be dropped in favor of having a URL at eachshowblock.Maybe this could work locally if you specify
localhostand it serves up some files.