diff options
author | listout <listout@protonmail.com> | 2021-06-08 23:52:35 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2021-06-08 23:52:35 +0530 |
commit | 3615956b06bc277d53c3e7e5bc4763294ae4722c (patch) | |
tree | 2e39c07b7a6396c25b7e734f1b877b9c3e42d193 /my_snippets/markdown.snippets | |
parent | e7de3e2257170e9c325ebd1ebccd05e193307e6d (diff) |
removed old dot snippet and added new snippets
Diffstat (limited to 'my_snippets/markdown.snippets')
-rw-r--r-- | my_snippets/markdown.snippets | 69 |
1 files changed, 59 insertions, 10 deletions
diff --git a/my_snippets/markdown.snippets b/my_snippets/markdown.snippets index 0e1b165..ab8df5a 100644 --- a/my_snippets/markdown.snippets +++ b/my_snippets/markdown.snippets @@ -1,11 +1,60 @@ -snippet graphviz "Graphviz dot snippet" -\`\`\`{.graphviz} -digraph g { - rankdir=LR - node[shape=none] - node[shape=doublecircle] - node[shape=circle] - $1 -} -\`\`\` +priority 100 +snippet Math "Markdown Math" w +$$ +$1 +$$ +endsnippet + +priority 100 +snippet math "Markdown Math" w +$$1$ +endsnippet + +priority 100 +snippet ... "ldots" iA +\ldots +endsnippet + +snippet => "implies" Ai +\implies +endsnippet + +snippet =< "implied by" Ai +\impliedby +endsnippet + +snippet == "equals" iA +&= $1 \\\\ +endsnippet + +snippet != "equals" iA +\neq +endsnippet + +snippet >= "geq" iA +\geq +endsnippet + +snippet <= "leq" iA +\leq +endsnippet + +snippet ceil "ceil" iA +\left\lceil $1 \right\rceil $0 +endsnippet + +snippet floor "floor" iA +\left\lfloor $1 \right\rfloor$0 +endsnippet + +snippet sum "sum" iA +\sum +endsnippet + +snippet -> "to" iA +\to +endsnippet + +snippet <- "gets" iA +\gets endsnippet |