Syntax highlighting in annotations #192

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
3 participants

shefla commented Apr 4, 2013

Adds two internal variables highlighter and highlighAuto.
Configure marked highlight option to use a callback delegating to highlight.js.

@shefla shefla Configure marked to use highlight.js for syntax highlighting in annot…
…ations.

Additionnaly allows to use file extension instead of language name in
github flavored markup fenced code blocks.
34c98f1
Collaborator

keithamus commented Apr 4, 2013

It seems like you've edited the docco.js, but not docco.litcoffee. You should edit the docco.litcoffee file, and generate docco.js from that.

shefla commented Apr 4, 2013

You're right I edited the javascript source file.
I'm not used to coffeescript but I will try to translate.

shefla added some commits Apr 4, 2013

@shefla shefla Revert "Configure marked to use highlight.js for syntax highlighting …
…in annotations."

This reverts commit 34c98f1.
f14b31b
@shefla shefla Allow syntax highlighting in annotations
Configure marked to use highlight.js in code blocks annotations.
Allow to use file extension instead of language name in fenced code
blocks.
96094b1
Owner

jashkenas commented Apr 4, 2013

This PR is screwed. Feel free to try again.

jashkenas closed this Apr 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment