Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Syntax coloring would be a really nice enhancement! #67

Closed
Saeven opened this issue Jul 3, 2015 · 1 comment · Fixed by #81
Closed

Syntax coloring would be a really nice enhancement! #67

Saeven opened this issue Jul 3, 2015 · 1 comment · Fixed by #81
Milestone

Comments

@Saeven
Copy link

Saeven commented Jul 3, 2015

Within Github, you can do:

(three back-ticks)php

for example, to get php keywords colored within the code block. I think Github uses Linguist https://github.com/github/linguist

@ShyykoSerhiy ShyykoSerhiy added this to the v0.1.6 milestone Jul 29, 2015
@mindplay-dk
Copy link

I have been using highlight.js to syntax-highlight my .md-files from GitHub, it works very nicely.

I don't know if the syntax highlighting is identical to that of GitHub - probably not - but it does ship with a GitHub color theme, which was close enough for me.

It would probably be a lot simpler to integrate this, than having to call out to Ruby? - basically, just drop in the JS and CSS assets, add one lines of JS to hook it up, and you should be good to go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants