course-starter-r icon indicating copy to clipboard operation
course-starter-r copied to clipboard

Link to expanded exercise?

Open noamross opened this issue 5 years ago • 1 comments

Is it possible to inked to an exercise in expanded state? For instance, if I link to https://noamross.github.io/gams-in-r-course/chapter1#6, it will go to that part of the chapter page, but Exercise 6 is closed.

I am primarily thinking of the use case of having cross-references within a course. (e.g., "For more information, go to the glossary")

noamross avatar May 31 '19 11:05 noamross

Hi! This also came up on the Python starter package and I played around with it on a branch. If I remember correctly, it did work – the only thing that ended up being a bit tricky in that situation was modifying the browser history.

You can check out the branch and discussion here:

  • deep-links branch: https://github.com/ines/course-starter-python/compare/feature/deep-links
  • Discussion: https://github.com/ines/course-starter-python/issues/7

ines avatar May 31 '19 14:05 ines