Changes between Version 5 and Version 6 of TracAsciidoctorPlugin


Ignore:
Timestamp:
Mar 12, 2015, 4:42:09 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • TracAsciidoctorPlugin

    v5 v6  
    77A plugin for rendering asciidoc source files to HTML when browsing the repository.
    88
    9 To use install [http://asciidoctor.org/ Asciidoctor] and enable the plugin as usual.
     9To use this plugin install [http://asciidoctor.org/ Asciidoctor] and enable the plugin as usual.
    1010
    1111Note that the plugin only renders files using the browser, I don't plan to add support for the wiki unless someone asks for it.
     
    1818If you have any issues, create a
    1919[http://trac-hacks.org/newticket?component=TracAsciidoctorPlugin new ticket].
     20
     21[[TicketQuery(component=TracAsciidoctorPlugin&group=type,format=progress)]]
    2022
    2123== Download
     
    3133General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3234
    33 The simplest way to install it is using easy_install:
     35The simplest way to install it is using `easy_install`:
    3436{{{
     37#!sh
    3538easy_install http://trac-hacks.org/svn/tracasciidoctorplugin/1.0/
    3639}}}
    37 This plugin uses asciidoctor so it needs to be installed on your machine and if it is not in the usual place of /usr/bin/asciidoctor you can specify its location in the trac.ini file:
     40
     41This plugin uses asciidoctor so it needs to be installed on your machine. If it is not in the usual place of `/usr/bin/asciidoctor`, you can specify its location in the `trac.ini` file:
    3842{{{
     43#!ini
    3944asciidoctor_path = /your_path/asciidoctor
    4045}}}
    41 You will need to enable it in trac.ini:
     46
     47You will need to enable it in `trac.ini` under the `[components]` subheading:
    4248{{{
     49#!ini
    4350tracasciidoctor.* = enabled
    4451}}}
    4552
    46 
    4753It will render pages with `svn:mime-type` property set to `text/asciidoc` or `text/x-asciidoc`.
    48 
    4954
    5055If you want to render pages without setting the `mime-type` a good option is to add extensions to the `[mimeviewer]` section: