3 ms·
mholt said that Markdown support can be enhanced in a comment above (https://news.ycombinator.com/item?id=9453216 https://news.ycombinator.com/item?id=9453216).
by shurcooL 12y ago
mholt said that Markdown support can be enhanced in a comment above (https://news.ycombinator.com/item?id=9453216 https://news.ycombinator.com/item?id=9453216).
There exists a native Go package to render GFM, see second from the top at https://github.com/avelino/awesome-go#text-processing https://github.com/avelino/awesome-go#text-processing.
- mholt 12y agoI've been looking at your GFM package, looks good! It's on my roadmap for possible future integration. I also want to see support for the kind of Markdown files that Hugo serves, with front matter. So there's lots of possibilities for the Markdown middleware right now.
- Spiritus 12y agoNot to sound ungrateful. But would it be possible to split your GFM package into its own repo? Because it's currently a PITA to vendor because it pulls half the world with it?
- shurcooL 12y agoAbsolutely, that's a fair request. Someone has already opened an issue about it at https://github.com/shurcooL/go/issues/19 https://github.com/shurcooL/go/issues/19, and I'm planning to take care of it. Edit: Oh, I guess that was you.