Reportedly, ox-md is somehow responsible for ox-gfm generating a TOC with anchors. Don't quote me on that. I don't believe it either.
Facts I actually believe: ox-gfm will generate a github flavor table if I just set `toc' to `t' at the top of my readme. However, if I try to create a partial TOC, as I have done with dslide, the normal ox-md behavior returns and I get vanilla markdown links.
You can see my toc settings here:
https://raw.githubusercontent.com/positron-solutions/dslide/refs/heads/master/doc/README.orgThis is the line I'm using to generate a TOC at a specific point in the document:
#+toc: headlines 2
What I'm looking for is vague understanding of where the problem might actually be and what pieces of code the solution might touch. I haven't touched org's exporters much and don't know where to start.