OBSOLETE: This package is not required anymore with the new implementation of the Reporting Engine. https://github.com/Open-Systems-Pharmacology/OSPSuite.ReportingEngine
node.js
needs to be installed on the machine in order to use markdown-joiner
. Please follow
https://nodejs.org/en/download/
if you need to install node on your machine.
npm install -g @ospsuite/markdown-joiner
If you are behing a firewall, you may have to do the following before installing the package
npm config set proxy <proxy-servers-address>
markdown-joiner --help
Usage: markdown-joiner [options]
Options:
-v, --version output the version number
-i, --input [path] Path to the input directory
-o, --output [path] Path to the output directory
-f, --force Force clean the output directory before generating files
-h, --help output usage information
markdown-joiner --input <path_to_input_directory> --output <path_to_output_directory>
This is the easiest way to test the development
version. Download the source code using git
. Form the local
markdown-joiner
folder, execute the following
npm install
npm run start -- --input <path_to_input_directory> --output <path_to_output_directory>
Make sure to include the double dash before the command line arguments. This is how NPM allows you to pass command line arguments to scripts.
npm run start -- --input "C:\reporting engine\reporting engine output" --output "C\reporting engine\report"
set DEBUG=* & npm run start -- --input <path_to_input_directory> --output <path_to_output_directory>
Navigate to <path_to_output_directory>\markdown_for_pdf
and open the file report.md
with for instance Typora. PDF is
just one click away
Navigate to <path_to_output_directory>\markdown_for_github
. You can upload the file report.md
along with the folder
images
to github to create a live documentation
npm uninstall -g @ospsuite/markdown-joiner
npm publish --access public