Changes between Version 5 and Version 6 of ReadmePlugin
- Timestamp:
- Jul 12, 2016, 8:54:14 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReadmePlugin
v5 v6 5 5 == Description 6 6 7 This is plugin to display README files in Browse Source directory listings, and preview .md files as rendered Markdown.7 This is a plugin to display README files in Browse Source directory listings. It automatically parses markdown files (.md) into HTML. This is useful if you're writing markdown (ultimately targeting HTML) and want a quick preview. 8 8 9 9 == Bugs/Feature Requests … … 28 28 }}} 29 29 30 Enable plugin in `trac.ini`:30 Enable plugin in your `trac.ini` file: 31 31 {{{#!ini 32 32 [components] … … 35 35 36 36 Configuration in `trac.ini`: 37 {{{ 38 #!ini 37 {{{#!ini 39 38 [mimeviewer] 40 39 mime_map = ...,text/x-trac-wiki:wiki,text/x-markdown:md … … 43 42 44 43 Appending `text/x-trac-wiki:wiki` and/or`text/x-markdown:md` to `mime_map` will render the appropriate file extensions as wiki and markdown files respectively in file previews. 45 The default setting for `mime_map_patterns` forces all README files to be plain text, you may need to replace `|` with `:` or remove the `.*` to get expected behaviour.44 The default setting for `mime_map_patterns` forces all README files to be plain text, you may need to replace `|` with `:` or remove the `.*` to get the expected behaviour. 46 45 47 46 For more information, please follow [TracPlugins#InstallingaTracPlugin documentation] on how to install Trac plugins.