Support for Github API as custom processor
It would be great is Marked 2 supported the Github API as a custom processor the same way the ST package Markdown Preview does. Marked itself gets pretty close but does a couple of things differently. Marked, for example, uses embeds javascript to highlight code whereas github formats the HTML in the conversion process and uses css to highlight the html.
Markdown preview:
https://sublime.wbond.net/packages/Markdown%20Preview
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
1 Posted by greg on 11 Jan, 2014 11:55 AM
another example: github formats the ids of headings differently. Using the github API would just create 100% compatibility.
Support Staff 2 Posted by Brett on 11 Jan, 2014 12:42 PM
Using the Github API is too slow to provide satisfactory results, and
you run into size limits. You can easily set it up as a custom
processor, though. Either through the API:
http://developer.github.com/v3/markdown/ or with Docter:
https://github.com/alampros/Docter
-Brett