zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
3.31k stars 211 forks source link

Export as HTML, RTF, PDF, LaTeX and XML #592

Open zufuliu opened 1 year ago

zufuliu commented 1 year ago

We can port this feature from SciTE (but under "Tools -> Export" menu, as our "File" menu is already too long, see issue #581): SciTE-File-Export

Following are some doubts make me unsure whether to implement this feature: feature doubts
HTML It's more common to use JavaScript to highlight code, there are so many JavaScript syntax highlighting packages.
PDF There is virtual printer "Microsoft Print to PDF" on most system (Win7+?), SciTE's implementation has font issue.
LaTeX similar to HTML, there are some LaTeX syntax highlighting packages.
Matteo-Nigro commented 1 year ago

Feature doubts: HTML It's more common to use JavaScript to highlight code, there are so many JavaScript syntax highlighting packages. PDF There is virtual printer "Microsoft Print to PDF" on most system (Win7+?), SciTE's implementation has font issue. LaTeX similar to HTML, there are some LaTeX syntax highlighting packages.

I agree that these 3 formats could potentially be redundant since there are external tools to get the result anyway... however in the view of Notepad2 as a standalone all-purpose program it would be nice to have the ability to have these features independent of third party...