Page MenuHomePhabricator

Render Remarkup files in Diffusion
Closed, DuplicatePublic

Description

It would be great to Render i.e. Foo.md when viewing it in Diffusion (Like [1]).

quite a bit for all documentation which goes with the source code, an using revisions to even review the source code of the documentation. Works well enough apart from the fact that it would be nice to have good rendered view.

[1] https://github.com/nvie/vim-rst-tables/blob/master/README.rst

Event Timeline

epriestley renamed this task from Render reStructuredText in Wiki, Diffusion and Documentation to Render reStructuredText in Diffusion.Mar 28 2013, 4:20 PM
epriestley triaged this task as Low priority.
epriestley added a project: Diffusion.

This is basically two tasks -- Diffusion support is straightforward. Support elsewhere is not.

To support this in Diffusion, we need to select a reStructuredText rendering engine and then audit it for security issues. This will probably take some significant effort, since markup parsers aren't easy to audit and, e.g., the reST demo page allows javascript:// links, which create an attack vector. reST doesn't seem to have been built for the untrusted-user-text use case, so I'd worry that we may find more issues lurking under the hood (like the known-hash-replacement attack against Markdown from a while ago).

chad changed the visibility from "All Users" to "Public (No Login Required)".Jul 3 2015, 5:21 AM
avivey renamed this task from Render reStructuredText in Diffusion to Render Remarkup filed in Diffusion.Dec 16 2015, 11:28 PM
avivey updated the task description. (Show Details)
avivey renamed this task from Render Remarkup filed in Diffusion to Render Remarkup files in Diffusion.Dec 16 2015, 11:55 PM

I'm merging this into the newer T5698, because that one has slightly more discussion and more subscribers.

They both started life as "Render GH-flavored-MD in diffusion", and are now both "Render Remarkup in diffusion".