From 7f963ac817f74df23700d87f73e30df22958e028 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 1 Jun 2020 12:49:10 +0200 Subject: [PATCH] Added a mention of the JSON export option in the docs. --- docs/source/export.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/source/export.rst b/docs/source/export.rst index 5cf24cff..91cfb5d6 100644 --- a/docs/source/export.rst +++ b/docs/source/export.rst @@ -95,3 +95,18 @@ Plain Text ========== The plain text export format writes a simple ``.txt`` file without any formatting at all. + +************************* +Additional Export Options +************************* + +In addition to the above document formats, the novelWriter HTML and Markdown formats can also be wrapped in a JSON file. +The files will have a meta data entry and a body entry. +For HTML, also the accompanying css styles are exported. + +The text body is saved in a two-level list. +The outer list contains one entry per exported file, in the order they appear in the project tree. +Each file is then split up into a lst as well, with one entry per line. + +These files are mainly intended for scripted post-processing for those who want that option. +A JSON file can be imported directly into a Python dict object or a PHP array, to mentions a few options.