Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.03 KB

FidusWriter-Pandoc

FidusWriter-Pandoc is a Fidus writer plugin to connect a Fidus Writer instance with Pandoc for document conversion.

NOTE: You should first install Pandoc and make it run as a server. It is included in the Ubuntu Snap version of Fidus Writer so that will be the simplest way to install it for 99% of users.

Installation

  1. Install Fidus Writer with the correct version of the plugin like this:
pip install fiduswriter[pandoc]
  1. Add "pandoc" to your INSTALLED_APPS setting in the configuration.py file like this::
INSTALLED_APPS += (
    ...
    'pandoc',
)
  1. Add a setting for the URL where you are running Pandoc in the configuration.py file like this:
PANDOC_URL = 'http://localhost:3030'
  1. Create the needed JavaScript files by running this::
python manage.py transpile
  1. (Re)start your Fidus Writer server.

Running pandoc as a server

To run pandoc as a server just type:

pandoc server

This will start it in server mode running on port 3030.