3 ms·
My guess is you do some preprocessing on the DOM to get it down to text but still retains some structure. Something like https://github.com/Alir3z4/html2text h
by aleksiy123 2y ago
My guess is you do some preprocessing on the DOM to get it down to text but still retains some structure.
Something like https://github.com/Alir3z4/html2text https://github.com/Alir3z4/html2text.
I'm sure there are other (better?) options as well.
- tarasglek 2y agoI wrote https://markdown.download https://markdown.download as a general helper for this