nfdi4plants / nfdi4plants.github.io

DataPLANT static website using Fornax
https://nfdi4plants.github.io/
MIT License
4 stars 8 forks source link

Issue with user-added TOC #89

Closed Brilator closed 2 years ago

Brilator commented 2 years ago

@Freymaurer, can you please check the TOC in the Quickstart? https://github.com/nfdi4plants/nfdi4plants.github.io/edit/main/src/content/docs/quickstart_arc.md

The heading "The Minimalist's ARC-QuickStart" isn't parsed properly. GH flavored markdown works.

Freymaurer commented 2 years ago

What is displayed wrong? image (Image from website)

Brilator commented 2 years ago

Displays properly, but doesn't link properly.

Freymaurer commented 2 years ago

Try using the hash-link from clicking on the symbol next to the header:

image

Brilator commented 2 years ago

Hm, but that breaks it with other md-parsers (pandoc, gfm). The point of having an extra TOC added (not relying on the one from web components) was to export (pandoc convert to PDF) the doc and share it.

Freymaurer commented 2 years ago

I see. I will look into this issue and try to unify the output.

Freymaurer commented 2 years ago

Good catch, i fixed it 👍

Brilator commented 2 years ago

Sweet!