aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmcv <smcv@web>2017-06-01 09:48:10 -0400
committeradmin <admin@branchable.com>2017-06-01 09:48:10 -0400
commit2f765597defb81816ee1f6a6ed041d6c47dd8f7e (patch)
tree24a7f2bcc33be095785ccd2fc3a92574ef7bbeac
parentbbf2d13ae325a844d6bda4cb2502c5de2497c5e3 (diff)
downloadikiwiki-2f765597defb81816ee1f6a6ed041d6c47dd8f7e.tar
ikiwiki-2f765597defb81816ee1f6a6ed041d6c47dd8f7e.tar.gz
resolved
-rw-r--r--doc/todo/toc-with-human-readable-anchors.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/todo/toc-with-human-readable-anchors.mdwn b/doc/todo/toc-with-human-readable-anchors.mdwn
index 1e41add96..482dad70b 100644
--- a/doc/todo/toc-with-human-readable-anchors.mdwn
+++ b/doc/todo/toc-with-human-readable-anchors.mdwn
@@ -24,6 +24,8 @@ my [toc-recycle-id branch][] (see [921a264][]).
[921a264]: https://gitlab.com/anarcat/ikiwiki/commit/27d5d9d126b6b675ad273ebd63095df0c921a264
[toc-recycle-id branch]: https://gitlab.com/anarcat/ikiwiki/commits/toc-id-recycle
+> [[Merged|done]] --[[smcv]]
+
The second step is to generate those headings. There are two ways of
doing this:
@@ -40,7 +42,16 @@ doing this:
> far as I know there's still no API-stable CommonMark library. --[[smcv]]
> > Sure - but then does discount introduce those identifiers in headings?
+ > >
+ > > > Only if you ask for a table of contents, which ikiwiki doesn't.
+ > > > If you want it to have a flag to produce the IDs even without enabling
+ > > > its built-in ToC support, that would be a feature request for discount,
+ > > > not ikiwiki. Until/unless it does, there's always headinganchors. --s
+ > >
> > And what about the patch to recycle those identifiers? --[[anarcat]]
+ > > >
+ > > > I already merged it, and added a regression test. Sorry, I forgot
+ > > > to close this todo at the time. --s
2. enable the [[plugins/headinganchors]] plugin. if multimarkdown is
disabled, this can also provide usable identifiers.