dillinger icon indicating copy to clipboard operation
dillinger copied to clipboard

[Feature Request] Add HTML source code to the preview

Open imedadel opened this issue 8 years ago • 10 comments

I usually use the editor to write in Markdown, Preview it and copy the HTML code. Apparently the only way to get the HTML code is by exporting it as HTML, which is a tedious task. The markdown-it demo has this feature (i.e. HTML source). Some other Markdown editors have this feature too (but, I prefer using dillinger). Thanks.

imedadel avatar Jan 11 '17 14:01 imedadel

Great idea and should be pretty simple to do. Go for it!

On Wed, Jan 11, 2017 at 6:50 AM, Imed Adel [email protected] wrote:

I usually use the editor to write in Markdown, Preview it and copy the HTML code. Apparently the only way to get the HTML code is by exporting it as HTML, which is a tedious task. The markdown-it demo has this feature (i.e. HTML source). Some other Markdown editors have this feature too (but, I prefer using dillinger). Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/599, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC8alAXHh_KfT0ZmKhPs_V7M3KNMNK1ks5rROwagaJpZM4Lgqd6 .

joemccann avatar Jan 11 '17 20:01 joemccann

Did you take a stab at creating this @ImedAdel ?

joemccann avatar Apr 08 '17 15:04 joemccann

@joemccann I would be interested in working on this feature if it's wanted?

js-kyle avatar Oct 02 '17 08:10 js-kyle

Go for it!

On Monday, October 2, 2017, Kyle Martin [email protected] wrote:

@joemccann https://github.com/joemccann I would be interested in working on this feature if it's wanted?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/599#issuecomment-333469301, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC8apf5W6Uf8ygrouQpyrnZnDUqb163ks5soJx7gaJpZM4Lgqd6 .

-- Sent from Joe In Real Life

joemccann avatar Oct 02 '17 14:10 joemccann

Cool - will check in once I have some progress.

js-kyle avatar Oct 02 '17 23:10 js-kyle

This is where I'm at currently. Will prepare a PR soon (first open source contribution!) unless there's any comments yet

https://cl.ly/2F0Z091g3t2h

js-kyle avatar Oct 05 '17 05:10 js-kyle

Nice!

On Wednesday, October 4, 2017, Kyle Martin [email protected] wrote:

This is where I'm at currently. Will prepare a PR soon (first open source contribution!) unless there's any comments yet

https://cl.ly/2F0Z091g3t2h

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/599#issuecomment-334366640, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC8aqMZSY38KNDMvJLvf8mDe-K-HjhCks5spG-fgaJpZM4Lgqd6 .

-- Sent from Joe In Real Life

joemccann avatar Oct 05 '17 13:10 joemccann

@joemccann I've submitted a PR to be reviewed for this. Let me know your feedback!

js-kyle avatar Oct 08 '17 05:10 js-kyle

Great! Reviewing now.

joemccann avatar Oct 08 '17 19:10 joemccann

since #651 is merged this can be closed, right?

torgeros avatar Sep 28 '21 13:09 torgeros