Add Github Embed plugin
I'd love to embed my course syllabus on a Commons page through Github. Can you please take a look at this plugin and see whether you think it is benign?
If it doesn't pose any problems, I'd be extremely grateful if you could install it as a hotfix in advance of the Fall semester, which begins next week. thanks for considering this.
#3 Updated by Matt Gold over 5 years ago
Sure -- it's this markdown file -- https://github.com/mkgold/clouds/blob/master/cloud-syllabus.md
If this is not possible/easy -- no worries.
#4 Updated by Boone Gorges over 5 years ago
- Status changed from Reporter Feedback to Resolved
- Target version set to 1.9.26
It sounds like what you want is not so much to have Github itself embedded, but to have your markdown document parsed and then embedded into a page.
I found a WP plugin that does this and installed it on the Commons in https://github.com/cuny-academic-commons/cac/commit/5807c5bc05c7a0ba2b91878841fc8e6f5d6ce2cc
To use, first activate the Remote Markdown plugin. Then, put the following into a post:
Note that the content of this shortcode is the "Raw" version of your syllabus Markdown file. The 'refresh' attribute describes how many minutes the content will be cached for - you may want to set this to something low (maybe 1) until you are certain that all the bugs are out of your markup. See https://github.com/mkgold/clouds/pull/1
Let me know if you have any problems.