realms-wiki icon indicating copy to clipboard operation
realms-wiki copied to clipboard

GitHub Flavor Markdown

Open ShonM opened this issue 9 years ago • 7 comments

https://github.com/google/py-gfm

Would it be difficult to implement this instead of the vanilla markdown, or perhaps a way to select which markdown interpreter to use? There's a couple really nice features in GHFM https://help.github.com/articles/github-flavored-markdown

ShonM avatar Jan 05 '16 16:01 ShonM

+1 I was about to open this issue myself. Would love GH flavored markdown.

KendallPark avatar Jan 05 '16 21:01 KendallPark

+1 I would like the use of check boxes. I'm currently using my wiki for recipes, and I use check boxes to track ingredients as I gather them right on the page itself.

boldmanj avatar Jan 15 '16 04:01 boldmanj

Hmm, it's using https://github.com/chjj/marked with gfm enabled. Which gfm feature is it missing?

scragg0x avatar May 17 '16 15:05 scragg0x

I should have documented exactly what was not working but sadly, I switched back to Gollum after a couple of things I was accustomed to in it were missing. I'll leave the issue as is in case others still have it, or you can close it, either way it's not an issue for me currently.

ShonM avatar May 17 '16 15:05 ShonM

@The GFM feature I'm not seeing is tasks:

  • [ ] this gets rendered as a checkbox on github
  • [x] this is a completed task

but in realms it just gets rendered as the literal text.

It'd be nicer to render it as a checkbox.

jamezpolley avatar Jun 20 '16 11:06 jamezpolley

There's a few issues about this open on the marked repository, that also show how you could add it yourself: chjj/marked#689, chjj/marked#263, chjj/marked#107

3onyc avatar Jul 14 '16 12:07 3onyc

chjj/marked seems kind of dead at this point, consider using a fork or alternative?

RSully avatar Jul 19 '16 15:07 RSully