Based on the discussion started in the Using Runestone in MediaWiki thread I have begun work on a proposal that I would like feedback on. This proposal would shift the bulk of the work in generating all of the html required for the various Runestone widgets from the Sphinx system to a Javascript library. I think of it as a step in the direction of web components and creating a set of custom tags for runestone.
By standardizing the HTML and relying on Javascript this opens up many more possibilities for using Runestone in straight HTML or in other markup languages like Markdown, MediaWiki or even for developers to create their own macros in whatever markup language. I think this would also make it quite easy to include Runestone directly in pages created in Moodle and other course management systems.
The proposal is a work in progress on the
Runestone Wiki. I welcome comments, suggestions and contributions.