Code syntax coloring or code fence block syntax highlighting
The user manual for multi markdown composer
Has the following example
# Demonstrate Syntax Highlighting if you link to highlight.js #
# http://softwaremaniacs.org/soft/highlight/en/
print "Hello, world!\n";
$a = 0;
while ($a < 10) {
print "$a...\n";
$a++;
}
<pre><code>
to get colored syntax but it doesn't explain what it means to "link" to highlight.js.
Where do I link?
How to I set up Composer to get colored syntax?</code>
</pre>
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
Support Staff 1 Posted by Fletcher on 17 Feb, 2014 02:27 AM
HTML pages have to include a link to javascript if they want it to run.
You can use the `html header` metadata to include this, just like
MathJax or any other javascript or information that you want to put in
the `<head>` section.
F-
Support Staff 2 Posted by Fletcher on 17 Feb, 2014 03:12 PM
BTW, all of this is documented on the page you refer to:
http://fletcher.github.io/MultiMarkdown-4/fences
F-
Fletcher closed this discussion on 17 Feb, 2014 03:12 PM.