mirror of
https://github.com/wolfpld/tracy
synced 2026-01-19 04:52:09 +00:00
Remove junk from links in markdown manual.
This commit is contained in:
5
manual/filter.lua
Normal file
5
manual/filter.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
function Link(el)
|
||||||
|
el.attributes['reference-type'] = nil
|
||||||
|
el.attributes['reference'] = nil
|
||||||
|
return el
|
||||||
|
end
|
||||||
@@ -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@\\Alt@Alt@g' _tmp.tex
|
||||||
sed -i -e 's@\\del@Delete@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
|
rm -f _tmp.tex
|
||||||
|
|||||||
494
manual/tracy.md
494
manual/tracy.md
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user