Convert RoboHelp Manual to Markdown script. (semi-automatic, manual adjustment is required after use)
将 RoboHelp 制作的文档转换为 Markdown(脚本为半自动,使用后需手动调整部分文件)
- Installation Python dependencies
pip install -r requirements.txt
- Download and install Pandoc from here if you are using Windows.
- Copy all files in
GMS2-Robohelp-en
toworkdir
.(The folder itself is not included, i.e. "workdir/GMS2-Robohelp-en" is invalid.) - Executes batches in
scripts
in the order of file names.(If the batch prompts that the file cannot be found, please copy these batches to this repo root directory.) - (For docsify only) Run
OutputSidebar.js
with Node.js to make_sidebar.md
- Python >= 3.8
- Pandoc (command-line)
- Node.js (for
OutputSidebar.js
, this script has no additional dependencies)
It is recommended to use Visual Studio Code for the following operations (all global)
- Replace "&lt;" to "<"
- Replace "&gt;" to ">"
- Replace "&amp;" to "&"
- Replace ".htm" to ""(empty)