Skip to content

Eruhitsuji/XMLandMD2HTMLConverter

Repository files navigation

XMLandMD2HTMLConverter

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.

Prerequisite environment

  • Node.js related
  • Python3 and above

Installation of relevant libraries

npm install package.json
pip install -r requirements.txt

How to run

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

Sample of this project

The output for input directory is output directory. Also, a sample output page is here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published