shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.48k stars 173 forks source link

Export HTML using Script #2035

Open markusmorawitz77 opened 3 months ago

markusmorawitz77 commented 3 months ago

I really like Markdown Preview Enhanced a lot and we use it as the backbone of our software documentation toolchain.

Here we maintain a multiple of single markdown files within the project and one or few top level markdown filed importing all necessary (sub) markdown files to create one or few html files which we then deploy to our customer.

The main problem within our tool is that to export the described html file the only (as far I am aware of) is a manual interactive step using visual studio code by open the preview and right click to export the html.

As for all other steps in our deployment process (build, testing, ...) we would like to integrate this html export within our automated build and deployment pipeline (here we currently use Bitbucket Cloud pipeline).

So I would very much appreciate any possibility to trigger the html export per script (or visual studio code task).

Even better would be the possibility to use markdown preview enhanced without the need of having visual studio code installed.

Thanks a lot and best Regards Markus

ananwjq commented 2 months ago

附议

jimyoshida commented 1 week ago

I also want such automation and have studied the code a bit, and found out that we may be able to use crossnote API which is the core library of the extension. I hope that works.