emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Keyword TOC generation for GFM
@ 2024-11-24 11:03 Psionic K
  0 siblings, 0 replies; only message in thread
From: Psionic K @ 2024-11-24 11:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

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.

First report on ox-gfm:  https://github.com/larstvei/ox-gfm/issues/51

You can see my toc settings here:
https://raw.githubusercontent.com/positron-solutions/dslide/refs/heads/master/doc/README.org

This 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.

[-- Attachment #2: Type: text/html, Size: 1204 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-24 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-24 11:03 Keyword TOC generation for GFM Psionic K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).