]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
multimarkdown: it's a trap!
authorsmcv <smcv@web>
Sun, 14 May 2017 11:47:42 +0000 (07:47 -0400)
committeradmin <admin@branchable.com>
Sun, 14 May 2017 11:47:42 +0000 (07:47 -0400)
doc/todo/toc-with-human-readable-anchors.mdwn

index 60edaffcb7fc62dce2c464d38a865f4eeddffa17..09985a9e4a53cb3d3dab3c13fb5b54e1f1b3a5e0 100644 (file)
@@ -31,6 +31,14 @@ doing this:
     add `id` anchors when using [Text::Multimarkdown][] which is
     simply a matter of adding `multimarkdown: 1` in the setup file
 
+    > I don't think multimarkdown is a good solution. It served a useful
+    > purpose when we were defaulting to [[!cpan Text::Markdown]] or to
+    > `markdown.pl`, but now that we're using Discount by default,
+    > Multimarkdown is mostly a trap for the unwary - it's a less predictable
+    > and (in general) less featureful parser than Discount. Ideally we'd
+    > always be using CommonMark or Discount these days, but as
+    > far as I know there's still no API-stable CommonMark library. --[[smcv]]
+
  2. enable the [[plugins/headinganchors]] plugin. if multimarkdown is
     disabled, this can also provide usable identifiers.