mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-16 12:24:36 +02:00
build: fix mdx issue with escaped pipe character
This commit is contained in:
parent
3a1ef4150d
commit
99ee77a03d
1 changed files with 3 additions and 3 deletions
|
@ -72,9 +72,9 @@ function M.keymaps()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
for _, m in ipairs(mappings) do
|
for _, m in ipairs(mappings) do
|
||||||
lines[#lines + 1] = "| ``"
|
lines[#lines + 1] = "| <code>"
|
||||||
.. m.keys:gsub("|", "\\|"):gsub("`$", "` ")
|
.. m.keys:gsub(">", ">"):gsub("<", "<"):gsub("|", "|")
|
||||||
.. "`` | "
|
.. "</code> | "
|
||||||
.. m.desc
|
.. m.desc
|
||||||
.. " | "
|
.. " | "
|
||||||
.. table.concat(
|
.. table.concat(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue