0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

Remove junk from links in markdown manual.

This commit is contained in:
Bartosz Taudul
2025-07-12 11:58:19 +02:00
parent ee2ef5c455
commit 31815fd45d
3 changed files with 253 additions and 248 deletions

5
manual/filter.lua Normal file
View File

@@ -0,0 +1,5 @@
function Link(el)
el.attributes['reference-type'] = nil
el.attributes['reference'] = nil
return el
end

View File

@@ -8,5 +8,5 @@ sed -i -e 's@\\shift@Shift@g' _tmp.tex
sed -i -e 's@\\Alt@Alt@g' _tmp.tex
sed -i -e 's@\\del@Delete@g' _tmp.tex
pandoc --wrap=none --reference-location=block --number-sections -s _tmp.tex -o tracy.md
pandoc --wrap=none --reference-location=block --number-sections -L filter.lua -s _tmp.tex -o tracy.md
rm -f _tmp.tex

File diff suppressed because it is too large Load Diff