The PreTeXt sample book (PTXSB on runestone.academy) Now has links to the source for each exercise on github. I wrote a python script that finds the #exercise tags and then inserts a #url below the exercise. After building the book, I git restore rune.xml, so these are not permanently added. They would get out of sync very quickly!
These are live on runestone academy now.
In a couple of the browsers I use it opens the github link in a nice little popover window. But in safari it just navigates to github in the same tab. That seems less that ideal. I did a quick search of the guide and didn’t see how to specify the equivalent of target=blank like you can do with an a tag.
Are there other tags where it would be useful to link to the PreTeXt source on github?
Check it out and let me know what you think.