mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 2025-10-31
update 2025-10-08 chore: update readme Update 2025-10-09 Update 2025-10-15 Update 2025-10-22 Update 2025-10-31
This commit is contained in:
46
snippets/markdown.lua
Normal file
46
snippets/markdown.lua
Normal file
@@ -0,0 +1,46 @@
|
||||
---@diagnostic disable: undefined-global
|
||||
|
||||
return {
|
||||
s(
|
||||
"ket",
|
||||
fmt(
|
||||
[[
|
||||
|{}angle.r{}
|
||||
]],
|
||||
{
|
||||
i(1),
|
||||
i(0),
|
||||
}
|
||||
)
|
||||
),
|
||||
}, { -- autosnippets
|
||||
s({ trig = "mt", name = "Math Block" }, fmta("$<>$", { i(1) })),
|
||||
s({ trig = "mmt", name = "Multiline Math Block" }, fmta("$ <> $", { i(1) })),
|
||||
s(
|
||||
"ket0",
|
||||
fmt(
|
||||
[[
|
||||
|0angle.r
|
||||
]],
|
||||
{}
|
||||
)
|
||||
),
|
||||
s(
|
||||
"ket1",
|
||||
fmt(
|
||||
[[
|
||||
|1angle.r
|
||||
]],
|
||||
{}
|
||||
)
|
||||
),
|
||||
s(
|
||||
"ketp",
|
||||
fmt(
|
||||
[[
|
||||
|Psi angle.r
|
||||
]],
|
||||
{}
|
||||
)
|
||||
),
|
||||
}
|
||||
Reference in New Issue
Block a user