joemccann / dillinger

The last Markdown editor, ever.
https://dillinger.io
MIT License
7.93k stars 1.11k forks source link

[feature] github themed preview #605

Open tx46 opened 7 years ago

tx46 commented 7 years ago

it would be nice if there was a github themed preview so I don't have to save to github to preview (that looked identical to how github renders markdown) certain things. or even better, convince github to use your the theme you use on dillinger.io. ;-)

joemccann commented 7 years ago

Yeah I've thought about that. If you want to create the stylesheet for the preview (the right hand pane) to match GitHub I'm happy to accept that Pull Request.

joemccann commented 7 years ago

@philiparvidsson any update on this?

tx46 commented 7 years ago

@joemccann sorry - no updates. I started working on it back when you replied originally but since then I haven't really bothered with it (back then I was doing lots of github work through my studies, not so much anymore since I finished my studies and now work full time)

I noted a few things though - even the character translation is slightly different. for example (iirc) dillinger.io translates --- (triple dash) into em-dash, while github doesn't, so I'm thinking a css configuration wouldn't be enough (or maybe that can be done with css today!?)

I also prefer dillinger.io's look to github, but that's a different story.