New expansions for html

This commit is contained in:
z3rOR0ne 2023-04-27 23:38:46 -07:00
parent 8bb51977cc
commit 099d86dd8a

View file

@ -27,12 +27,12 @@ matches:
# Print the output of a shell command
# - trigger: ":shell"
# replace: "{{output}}"
# vars:
# - name: output
# type: shell
# params:
# cmd: "echo 'Hello from your shell"
# replace: "{{output}}"
# vars:
# - name: output
# type: shell
# params:
# cmd: "echo 'Hello from your shell"
# Print the $USER
- trigger: ":user"
@ -137,6 +137,36 @@ matches:
- trigger: ";clw"
replace: "console.warn('WARNING :=>', )"
- trigger: ";<h1"
replace: "<h1> </h1>"
- trigger: ";<h2"
replace: "<h2> </h2>"
- trigger: ";<h3"
replace: "<h3> </h3>"
- trigger: ";<h4"
replace: "<h4> </h4>"
- trigger: ";<h5"
replace: "<h5> </h5>"
- trigger: ";<d"
replace: '<div class=""> </div>'
- trigger: ";<s"
replace: '<span class=""> </span>'
- trigger: ";<p"
replace: '<p> </p>'
- trigger: ";<a"
replace: '<a href=""> </a>'
- trigger: ";<i"
replace: '<img src="" alt="" />'
- trigger: ";test"
replace: "test('', () => {})"
@ -170,7 +200,8 @@ matches:
# Routes to text.npr.org
- trigger: ";npr"
replace: "https://text.npr.org"
replace:
"https://text.npr.org"
# Prepares about pages for firefox
- trigger: ";conf"