doc.kak: Fix anchor name completion
This commit is contained in:
parent
9b83589b18
commit
4740dbf9fa
|
@ -130,7 +130,7 @@ define-command -params 1..2 \
|
||||||
awk '
|
awk '
|
||||||
/^==+ +/ { sub(/^==+ +/, ""); print }
|
/^==+ +/ { sub(/^==+ +/, ""); print }
|
||||||
/^\[\[[^\]]+\]\]/ { sub(/^\[\[/, ""); sub(/\]\].*/, ""); print }
|
/^\[\[[^\]]+\]\]/ { sub(/^\[\[/, ""); sub(/\]\].*/, ""); print }
|
||||||
' < $page
|
' < $page | tr '[A-Z ]' '[a-z-]'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user