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
- Install Fidus Writer with the correct version of the plugin like this:
pip install fiduswriter[pandoc]
- Add "pandoc" to your INSTALLED_APPS setting in the configuration.py file like this::
INSTALLED_APPS += (
...
'pandoc',
)
- Create the needed JavaScript files by running this::
python manage.py transpile
- (Re)start your Fidus Writer server.
B. Installation running on a server
-
Install Pandoc and make it run as a server.
-
Install Fidus Writer with the correct version of the plugin like this:
pip install fiduswriter[pandoc]
- Add "pandoc_on_server" to your INSTALLED_APPS setting in the configuration.py file like this::
INSTALLED_APPS += (
...
'pandoc_on_server',
)
- Add a setting for the URL where you are running Pandoc in the configuration.py file like this:
PANDOC_URL = 'http://localhost:3030'
- Create the needed JavaScript files by running this::
python manage.py transpile
- (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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fiduswriter_pandoc-4.0.0rc5.tar.gz.
File metadata
- Download URL: fiduswriter_pandoc-4.0.0rc5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1317e255203553226cbd9a548a72b2bc04cb0287b156c750ce21786f622d2232
|
|
| MD5 |
24938d09e7467722d00dfa4f382c7bcc
|
|
| BLAKE2b-256 |
62bc1448bb074e7225132e030e53b0af9d3ad5173fc126b57090974f064eb7b9
|