Ticket #8387 (new enhancement)
Opened 3 years ago
Last modified 19 months ago
Need method to view source code of RST files
| Reported by: | David Matthews | Owned by: | rblank |
|---|---|---|---|
| Priority: | normal | Milestone: | next-major-0.1X |
| Component: | rendering | Version: | 0.11.4 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
As discussed in WikiRestructuredText, files in the repository are parsed using RST if the Subversion property svn:mime-type is set to text/x-rst (for example - source:trunk/INSTALL).
This is a very useful feature in general. However, on occasions I would like to be able to view the RST file as a text file complete with line numbers. For example, this would allow me to highlight a set of lines in the file.
Links are already provided at the bottom of the page for "Original Format" and "Plain Text". Could an additional link be provided for "Source"?
This would also apply to files containing wiki markup which have had svn:mime-type set appropriately (can't remember what you have to set this to and I can't find it in the documentation :-( ).
Attachments
Change History
comment:1 Changed 3 years ago by cboos
- Component changed from version control/browser to rendering
- Milestone set to 1.0
comment:2 Changed 22 months ago by cboos
- Milestone changed from 1.0 to unscheduled
Milestone 1.0 deleted
comment:3 Changed 19 months ago by rblank
- Milestone changed from triaging to next-major-0.1X
- Owner set to rblank



We could indeed provide a way to show the content using the plain text renderer (or even better, explicitly choose the renderer when there are many).