fix: remove paru sudo

This commit is contained in:
Fabio Lenherr / DashieTM 2024-02-23 17:27:15 +01:00
parent 6b4bea4217
commit cba899aa1c
5 changed files with 59 additions and 61 deletions

View file

@ -40,6 +40,27 @@ local imageSnippet = s(
)
table.insert(snippets, imageSnippet)
local figureSnippet = s(
"figure-",
fmt(
[[
#align(
center, [#figure(
img("{1}", width: {2}%, extension: "{3}"), caption: [{4}],
)<{5}>],
)
]],
{
i(1, ""),
i(2, "100"),
i(3, "figures"),
i(4, ""),
i(5, ""),
}
)
)
table.insert(snippets, figureSnippet)
local centerImageSnippet = s(
"cimage-",
fmt(