🔧 Another latex espanso alias

This commit is contained in:
z3rOR0ne 2025-03-27 15:55:48 -07:00
parent 8099a49983
commit 351ce052a7
2 changed files with 17 additions and 0 deletions

View file

@ -209,6 +209,15 @@ matches:
params:
cmd: "~/scripts/piecewise ; echo ''"
- trigger: ";align"
force_clipboard: true
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "~/scripts/align ; echo ''"
- trigger: ";<h1"
force_clipboard: true
replace: "<h1> </h1>"

8
scripts/align Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
cat <<EOM
\$$
\begin{align*}
\end{align*}
\$$
EOM