Hi all.
From the devonthink documentation I understand it supports MultiMarkdown and refers to the Guide:
https://rawgit.com/fletcher/human-markdown-reference/master/index.html
there is says that for fenced code block we should use this syntax
# 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++;
}
(cool that it renders well on the forums :))
but in devonthink it dosent seem to render with code highlighting.
even when I use prism.js:
<link href="/Users/zeltak/MLT/css/prism.css" rel="stylesheet">
<script src="/Users/zeltak/MLT/css/prism.js"></script>
it dosent render.
the only way to render correctly is to add the language
text to the top
```language-css
body {
margin: 0;
padding: 0;
color: #222;
background-color: white;
font-family: sans-serif;
font-size: 1.8rem;
line-height: 160%;
font-weight: 400;
}
im wondering what’s the reason for that as it a)is more annoying then just stating the actual language and also seems to deviate from the Multimarkdown syntax?
any Clue?
thx
Z