digital-garden-jekyll-template
digital-garden-jekyll-template copied to clipboard
Missing Internal links in markdown chart column names breaks chart
Internal link usage break charts:
Without internal links:
With internal links:
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:
- _config.yml for commonmark options
-
Gemfile add
gem 'jekyll-commonmark-ghpages'
I was able to fix this without switching to CommonMark. I will post what I did as soon as I re-figure it out.
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](https://user-images.githubusercontent.com/75578970/121759761-611cae80-caf5-11eb-991f-ef327cfac933.png)
![Screen Shot 2021-06-11 at 8 36 28 PM](https://user-images.githubusercontent.com/75578970/121759767-6679f900-caf5-11eb-99a1-388dfd262d3e.png)
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](https://user-images.githubusercontent.com/75578970/121759893-ee600300-caf5-11eb-919b-251bb12f2573.png)
![Screen Shot 2021-06-11 at 8 45 30 PM](https://user-images.githubusercontent.com/75578970/121759904-f6b83e00-caf5-11eb-99c9-09501855926c.png)
(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.