From f65eae2126403c2fad3f9dba96bfc016210835f4 Mon Sep 17 00:00:00 2001 From: anarcat Date: Wed, 12 Apr 2017 15:40:09 -0400 Subject: [PATCH] respond to an old question --- doc/plugins/headinganchors/discussion.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/plugins/headinganchors/discussion.mdwn b/doc/plugins/headinganchors/discussion.mdwn index eaf111f4e..512caa461 100644 --- a/doc/plugins/headinganchors/discussion.mdwn +++ b/doc/plugins/headinganchors/discussion.mdwn @@ -1,4 +1,6 @@ -Isn't this functionality a part of what [[plugins/toc]] needs and does? Then probably the [[plugins/toc]] plugin's code could be split into the part that implements the [[plugins/contrib/headinganchors]]'s functionality and the TOC generation itself. That will bring more order into the code and the set of available plugins. --Ivan Z. +Isn't this functionality a part of what [[plugins/toc]] needs and does? Then probably the [[plugins/toc]] plugin's code could be split into the part that implements the [[plugins/headinganchors]]'s functionality and the TOC generation itself. That will bring more order into the code and the set of available plugins. --Ivan Z. + +> Indeed it is. Except [[plugins/toc]] generates headings differently - and independently of this. *Even* if [[toc]]'s functionality would be split, you'd probably want to retain backwards compatibility there, so it's unlikely that this will happen... Also see [[todo/toc-with-human-readable-anchors]]. --[[anarcat]] --- -- 2.39.2