Open aamarks opened 5 years ago
Export to HTML would be a welcome feature.
My use case - automate saving songs to Evernote (with syntax highlight preserved).
This works perfectly via copy/paste (copy from vscode, paste to Evernote). But my goal is to automate this, and run a script to import to Evernote instead of doing this manually/interactively. Script works with actual (plain text) files, but obviously, it is imported to Evernote as plain text (no syntax highlighting).
vscode itself supports "copy with syntax highlighting", but I can't figure out how to get this formatted/richtext data programatically to pass to other applications. Probably these "copy with syntax highlighting" content is accessible to an extension and can be saved to a file relatively easy.
Would be nice to generate html or pdf like some Markdown extensions for use in places other than ultimate guitar.
edit: It seems there are extensions for exporting code (or you can paste into a word processor retaining the colors and save from there) so maybe not so needed, but it would be nice to have html with classes that recognize a chord as a chord and not just as a certain colored thing.