pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.34k stars 5.73k forks source link

link to a particular lesson #1084

Closed goyalyashpal closed 1 year ago

goyalyashpal commented 1 year ago

hi!

can a particular chapter be indicated in the link? similar to how the sandboxed can be indicated by appending ?NODEMO that will be useful - as i often like to make personal notes corresponding to the sources i find online (:

pcottle commented 1 year ago

You can actually append any arbitrary command to the url with ?command=$your_command, and since you can use a command to launch a level, you can indeed bookmark levels! Try this:

https://learngitbranching.js.org/?NODEMO&command=level%20mixed1

pcottle commented 1 year ago

(You can get the level name from clicking on a level and seeing what command gets added in the left command bar)

goyalyashpal commented 1 year ago

awesome. thanks (: