alerante has quit [Remote host closed the connection]
gregkare has left #nanoc [#nanoc]
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
alerante has joined #nanoc
alerante has quit [Ping timeout: 250 seconds]
ddfreyne has quit [Ping timeout: 252 seconds]
ddfreyne has joined #nanoc
relix has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 276 seconds]
Keltia_ is now known as Keltia
cDlm has quit [Quit: Computer has gone to sleep.]
cDlm has joined #nanoc
<guardian>
I need your insight please
<guardian>
what's the "best" way to
<guardian>
1. add a toc if item[:toc] is a number > 0 (this should work whatever the input format, hence I don't want to use {{toc}}
<guardian>
's kramdown feature)
<guardian>
2. have syntax highlighting for code blocks, knowing that my items are either written in asciidoc or markdown (hence I don't want to rely on kramdown's coderay integration)
<bobthecow>
guardian: for (2), use the nanoc syntax highlighting filter, rather than kramdown's.
smkelly has quit [Ping timeout: 240 seconds]
<tom[]>
bobthecow: certainly try it first. it didn't work out for me
<bobthecow>
then you prolly did it wrong ;)
<tom[]>
i may have done
<tom[]>
iirc, the problem was that, for fenced code blocks, it put the language name into the output on the wrong element. actually a rather unconventional one