Closed branflake2267 closed 11 years ago
Looks like the code above is only extending.
Most of those things have been incorporated by various different Markdown engines. But I don't think we really want all of these features. Mainly the treatment of newlines - we already have content that assumes the standard Markdown treatment of newlines and we also pretty much decided that's the way we want to go.
And as you said... this code is just layering on top of Redcarpet, the actual engine that Github uses. But that in turn is a Ruby binding to Sundown, which is a C library, but I'd like to keep these things out of the guider project to avoid complicating the installation procedure.
I'd really like to see github parser added, would this be a possibility. I think the markdown options allow for better storying telling.
Some things I'd like to see:
Example of github style: https://github.com/branflake2267/gxt/blob/docs_draft13_xtemplates/docs/guides/utility/xtemplates/XTemplates.md
Side by side comparison.. This is just a look at the difference, well probably only style difference too...
One more reason I think this would make sense to do is b/c of the github editor. I know George is using it to edit documents. I think it would be handy to edit docs now and then and get a github preview. I wouldn't think they have to be exact but a close representation would allow to take advantage of the github parser benefits. :)
What would you think of using the GitHub Markdown parser? I see it's in ruby :)
https://github.com/github/github-flavored-markdown - source home https://github.com/github/github-flavored-markdown/blob/gh-pages/index.md - sample
I think it has some nice markdown improvements. And the added bonus is when previewing it on github it would rendering closer to the end product :)