Feature #5925
closed
Added by Matt Gold almost 8 years ago.
Updated almost 8 years ago.
Category name:
WordPress Plugins
Description
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?
https://wordpress.org/plugins/github-embed/installation/
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.
Oops -- forget that. This just pulls project information in. I'm looking for a way to pull the actual github page in, if possible.
- Status changed from Assigned to Reporter Feedback
Can you share, here or privately, the URL of what you're trying to embed? There are specific mechanisms for embedding particular types of GitHub content.
- 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:
[remote-markdown refresh="60"]https://raw.githubusercontent.com/mkgold/clouds/master/cloud-syllabus.md[/remote-markdown]
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.
That's fantastic, Boone -- thanks so much! Here's the result - http://clouds.commons.gc.cuny.edu/syllabus/
(and thanks for contributing to my syllabus ;) )
I really appreciate this and think that a lot of people will be interested in using this plugin
Also available in: Atom
PDF