Code fences with syntax highlighting
-
Is there any implementation of code fencing with this plugin?
I noticed that you have code fences. Something like this:
`
Put code here.
`
But it doesn’t seem to have any syntax highlighting associated with it. Any chance that there’s a way to add a hint for what syntax it should be? I know I can just indent everything, but it looks like it has to be indented 8 spaces, and that can just get annoying.
Something like
`ruby
if ruby_code? then “highlight like ruby”
`
or
`java
if (this.isJavaCode()) {
return “highlight like java”
}
`
would be preferable, if it existed. Maybe I’m just missing something?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Code fences with syntax highlighting’ is closed to new replies.