]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc singlepage: add bold handler
authorMaria Matejka <mq@ucw.cz>
Tue, 1 Apr 2025 18:05:09 +0000 (20:05 +0200)
committerMaria Matejka <mq@ucw.cz>
Tue, 1 Apr 2025 18:05:09 +0000 (20:05 +0200)
tools/linuxdoc.lua

index cf4326f7fdfca4d808e284f2729026572b211ecc..6b8f34ed1669464fb071a871b582df424c0be45d 100644 (file)
@@ -177,6 +177,7 @@ G = P{ "Pandoc",
 
   InParaItems =
       V"Emph" +
+      V"Bold" +
       V"It" +
       V"HTMLURL" +
       V"InlineCodeLong" +
@@ -272,6 +273,7 @@ G = P{ "Pandoc",
   end;
 
   Emph = P"<em/" * ininline * P"/" / pandoc.Strong;
+  Bold = P"<bf/" * ininline * P"/" / pandoc.Strong;
   It = P"<it/" * ininline * P"/" / pandoc.Emph;
   InlineCodeIt = (P"<m/" + P"<M/") * ininline * P"/" / function (e)
     return pandoc.Emph(e, { class = "code" })