rendering tables with kramdown
On my local Jekyll I use kramdown and this table
|---
| Default aligned | Left aligned | Center aligned | Right aligned
|-|:-|:-:|-:
| First body part | Second cell | Third cell | fourth cell
| Second line |foo | **strong** | baz
| Third line |quux | baz | bar
|---
| Second body
| 2 line
|===
| Footer row
from http://kramdown.rubyforge.org/syntax.html#tables
works fine
when I select in custom processor the same Kramdown, it doesn't get rendered correctly
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 Brett on 27 Sep, 2013 03:50 PM
Works fine here, see if other settings might be causing issues: http://ckyp.us/M5QQ
-Brett
2 Posted by razzi on 27 Sep, 2013 05:11 PM
You're right - it works fine when I only have the code for the table. But I've included a file where it goes wrong. Remark, this is a 'work-in-progress' setup for my Jekyll site ;-)
3 Posted by razzi on 27 Sep, 2013 05:17 PM
from what I've found so far it has something to do with the
<cite>(That’s a citation)</cite>
4 Posted by razzi on 27 Sep, 2013 05:22 PM
ok - small example now
<cite>(That’s a citation)</cite>
|---
| Default aligned | Left aligned | Center aligned | Right aligned
|-|:-|:-:|-:
| First body part | Second cell | Third cell | fourth cell
| Second line |foo | **strong** | baz
| Third line |quux | baz | bar
|---
| Second body
| 2 line
|===
| Footer row
doesn't work, if you delete the <cite> it works fine
I hope this helps
5 Posted by razzi on 27 Sep, 2013 05:37 PM
it's the quote, Brett, the damned quote ;-)
It's some sort of a smart quote, not a regular one - pfew
hope this helps
Support Staff 6 Posted by Brett on 27 Sep, 2013 08:20 PM
I still can't get it to fail. Kramdown 1.0.2, your full blog post renders as http://ckyp.us/mOLp
I tried a whole slew of different config options, but nothing broke it.
-Brett
7 Posted by razzi on 27 Sep, 2013 09:16 PM
Weird, kramdown 1.2.0 here - but don't worry, I replaced the 'smart' quote with a 'dumb' one, and it works fine now.
If something more serious pops-up I let you know
Support Staff 8 Posted by Brett on 27 Sep, 2013 09:44 PM
I have had endless problems with UTF-8 and extended characters with kramdown (and Jekyll/Liquid in general). It's touchy.