Skip to main content

A Fidus Writer plugin to connect to Pandoc.

Project description

FidusWriter-Pandoc

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

NOTE: There are two ways to run this: Either A) with pandoc running as a wasm executable in the user's browser, or B) connecting to pandoc running on a server. A is easier to set up and requires fewer resources on the server. B requires fewer resources by users and their browsers. A is the default.

A. Installation running as a wasm executable

  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. Create the needed JavaScript files by running this::
python manage.py transpile
  1. (Re)start your Fidus Writer server.

B. Installation running on a server

  1. Install Pandoc and make it run as a server.

  2. Install Fidus Writer with the correct version of the plugin like this:

pip install fiduswriter[pandoc]
  1. Add "pandoc_on_server" to your INSTALLED_APPS setting in the configuration.py file like this::
INSTALLED_APPS += (
    ...
    'pandoc_on_server',
)
  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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fiduswriter_pandoc-4.0.0rc3.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fiduswriter_pandoc-4.0.0rc3-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file fiduswriter_pandoc-4.0.0rc3.tar.gz.

File metadata

  • Download URL: fiduswriter_pandoc-4.0.0rc3.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for fiduswriter_pandoc-4.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 8810db15ad88c7b21dd75e6a1208d69653e52b0ea948bbdb26aa63238db145aa
MD5 d9c1ba49397dd55509af48ebb28f0eb0
BLAKE2b-256 fac59683c81b60b5b3c1603ea2e7f0974bce5ee52be20858b3aeab7c5a43181c

See more details on using hashes here.

File details

Details for the file fiduswriter_pandoc-4.0.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for fiduswriter_pandoc-4.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 79562a431c456b91c08ec92dadcea3e40a544b9500a45bdb154e0ee7dae8275b
MD5 1fbcccaba4ca5ceae49203860a2c8aa1
BLAKE2b-256 66bfb2bc38259aea40aa7ffcc996d42c26b81534f30d66146daa3567f1520565

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page