A friendly reminder, my English is not very good, so I use machine translation of this article.
Use npm to install:
npm install -g yue-gen
or yarn:
yarn global addd yue-gen
pnpm is aslo available:
pnpm install -g yue-gen
If you have a Markdown file whose path is "D:\yue\readme.md" and you want to compile it into HTML, run this command.
yue-gen g D:\yue\ readme.md index.html
Then, yue.css will translate the contents of readme.md to HTML and write it to index.html. This index.html will be created in D:\yue.
While translating, the style file in yue.css will be transferred to a style tag in index.html, so you can just write Markdown without worrying, and leave everything about HTML to yue-gen.