This program can convert XML data written in a mixture of HTML and Markdown into normal static HTML. To convert from Markdown to HTML, markdown-it was used.
- Node.js related
- Python3 and above
npm install package.json
pip install -r requirements.txt
Before running, configure the input and output settings in upload_config.json.
Also change converter_config.json if necessary. For example, by changing "default_suffix" from "html" to "php", the output can be set to PHP file.
Then execute upload.py.
python3 upload.py
The output for input directory is output directory. Also, a sample output page is here.