From c4ccb77f0d9c39597c222518a1d977a5a3cc54e8 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Fri, 9 Feb 2018 11:47:15 +0000 Subject: [PATCH] Make all web link blocks into sections in markdown. --- fixup.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fixup.rb b/fixup.rb index e58f232..b60ebb8 100644 --- a/fixup.rb +++ b/fixup.rb @@ -268,6 +268,9 @@ data.each_with_index do |lin, idx| end if lin =~ /^(### Notes|Web links?)/ noteblock=true + # Turn web link line into section header, to make it easier to + # find by fixup-docbook.rb. + lin.gsub!(/^(Web links?)/, "### \\1") end end -- 2.47.2