all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Keyword TOC generation for GFM
@ 2024-11-24 11:03 Psionic K
  2024-12-15 16:49 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

end of thread, other threads:[~2024-12-15 16:48 UTC | newest]

Thread overview: 2+ messages (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
2024-12-15 16:49 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.