wiki:PandocPlugin

Preview docx files using Pandoc

Description

This is a generic preview plugin using Pandoc. Pandoc is a tool to convert files from one markup format into another and is GPL licensed.

Currently, it can render docx files in the repository browser.

Bugs/Feature Requests

Existing bugs and feature requests for PandocPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out PandocPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

Add application/vnd.openxmlformats-officedocument.wordprocessingml.document:docx to mime_map in your trac.ini file:

[mimeviewer]
mime_map = text/x-dylan:dylan, text/x-idl:ice, text/x-ada:ads:adb, application/vnd.openxmlformats-officedocument.wordprocessingml.document:docx

You should also install Pandoc. See Installing pandoc section of pypandoc documentation.

Recent Changes

16433 by rjollos on 2017-04-03 05:30:42
TracPandoc 0.1.0: Add URL to setup.py
15664 by tkob-trac on 2016-07-17 03:45:18
Initial commit
15663 by tkob-trac on 2016-07-17 03:39:36
New hack PandocPlugin, created by tkob-trac
(more)

Author/Contributors

Author: tkob-trac
Maintainer: tkob-trac
Contributors:

Last modified 9 months ago Last modified on Mar 8, 2017, 7:52:45 PM