digital-garden-jekyll-template icon indicating copy to clipboard operation
digital-garden-jekyll-template copied to clipboard

Missing Internal links in markdown chart column names breaks chart

Open manunamz opened this issue 3 years ago • 3 comments

Internal link usage break charts:

Without internal links: Screen Shot 2021-02-15 at 10 25 50 AM Screen Shot 2021-02-15 at 10 25 56 AM

With internal links: Screen Shot 2021-02-15 at 10 24 47 AM Screen Shot 2021-02-15 at 10 25 05 AM

manunamz avatar Feb 12 '21 16:02 manunamz

Hi @manunamz, I fixed this on my site by switching to Commonmark instead of Kramdown. Here's a Demo table with wikilink

How to switch to Commonmark:

meewgumi avatar May 30 '21 04:05 meewgumi

I was able to fix this without switching to CommonMark. I will post what I did as soon as I re-figure it out.

manunamz avatar Jun 11 '21 20:06 manunamz

Ok, so it's not just having internal links in the chart, it's having missing internal links that breaks the chart.

If the internal links aren't missing then tables work with internal links in them:

Screen Shot 2021-06-11 at 8 39 02 PM Screen Shot 2021-06-11 at 8 36 28 PM

Another oddity tho, and this is why when I originally posted the bug I thought it was just internal links breaking the tables, if the internal link/filename contains a dash it breaks the table (or at least marks it as a missing note, which breaks the table):

Screen Shot 2021-06-11 at 8 44 55 PM Screen Shot 2021-06-11 at 8 45 30 PM

(The km.app.roam-research is not missing in either scenario)

I'm guessing this bug will also show up in the CommonMark Parser, but that's just a guess.

manunamz avatar Jun 12 '21 00:06 manunamz