markdown-clipper icon indicating copy to clipboard operation
markdown-clipper copied to clipboard

Can you create a preserve highlight feature

Open shrvenkataraman opened this issue 5 years ago • 2 comments

If we use a web/memex highlighter - say green color or yellow color background, the article still exports as markdown without preserving those highlights/background color.

Two ways to do this - dirty insert of html span with background color in the markdown code.

Or, you could use syntax highlight of markdown feature in place of highlighted text. Can you help with this?

shrvenkataraman avatar May 30 '20 06:05 shrvenkataraman

The export depends on the way the highlighter manipulate the DOM of the page. Could you give me additional information what you use to highlight text?

enrico-kaack avatar Jun 16 '20 15:06 enrico-kaack

I use hypothes.is to highlight text. An alternate that i use is WorldBrain memex. The element of html just converts to a parameter with background color when html is read. So if a particular text has background color value, you can by default put ":: %TEXT% ::" around text to highlight it in markdown.

Shravan Venkataraman Chief Artisan Hankavalshier's - Artisan All-Natural Nut Butters, Parvathi Nagar, Old Perungalathur, Chennai - 600063, Tamil Nadu, India. +91-9751645546. [email protected] www.hankavalshiers.com www.facebook.com/HankavalshiersNutButter

On Tue, Jun 16, 2020 at 8:56 PM enrico-kaack [email protected] wrote:

The export depends on the way the highlighter manipulate the DOM of the page. Could you give me additional information what you use to highlight text?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/enrico-kaack/markdown-clipper/issues/11#issuecomment-644837003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7YHUTHGIIKKBSCS5PLQHDRW6FK5ANCNFSM4NORZ5PA .

shrvenkataraman avatar Jun 16 '20 15:06 shrvenkataraman