Github Flavored Markdown Table Styling

ian's Avatar

ian

12 Mar, 2012 11:32 AM

I've setup Marked for Github Flavoured Markdown following the docs and it looks to be styling fine for the most part but I noticed that the tables aren't being styled as other examples I've seen on github like this one: https://github.com/cldwalker/hirb/pull/44. Is there a way I can change the styling to match that table style?

  1. Support Staff 1 Posted by Brett on 12 Mar, 2012 01:54 PM

    Brett's Avatar

    At the time that I built the current Github stylesheet, there was no
    support for tables. Is there now? I have a brand new github stylesheet for
    the next release that catches the look up with Github's and I believe table
    styling is included. I'll attach it here for you to try in the next message.

  2. 2 Posted by ian on 12 Mar, 2012 04:38 PM

    ian's Avatar

    Tables are a relatively new addition to github markdown although they have been there a while now. The creator of Docter has included a stylesheet for the current Github Flavored Markdown styles in the Docter repository (https://github.com/alampros/Docter/blob/master/ghf_marked.css). A note has also been included for Marked app users near the bottom of the README.

    For the time being I've used those styles as a custom stylesheet and have set that to default. Looking forward to the next release with the official styles included in the Github style. Let me know when it's out.

    Thanks

  3. Brett closed this discussion on 26 Aug, 2012 08:54 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac