From a1ec4771740d321df4480e8a7224fa10b59f0569 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Fri, 3 Apr 2026 22:46:48 +0200 Subject: Update repo with git init directly in home dir --- .vsnip/htmldjango.json | 1032 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1032 insertions(+) create mode 100644 .vsnip/htmldjango.json (limited to '.vsnip/htmldjango.json') diff --git a/.vsnip/htmldjango.json b/.vsnip/htmldjango.json new file mode 100644 index 0000000..9e547c3 --- /dev/null +++ b/.vsnip/htmldjango.json @@ -0,0 +1,1032 @@ +{ + "doctype": { + "prefix": "doctype", + "body": [ + "", + "$1" + ], + "description": "HTML - Defines the document type", + "scope": "text.html" + }, + "a": { + "prefix": "a", + "body": "$2$3", + "description": "HTML - Defines a hyperlink", + "scope": "text.html" + }, + "abbr": { + "prefix": "abbr", + "body": "$2$3", + "description": "HTML - Defines an abbreviation", + "scope": "text.html" + }, + "address": { + "prefix": "address", + "body": [ + "
", + "$1", + "
" + ], + "description": "HTML - Defines an address element", + "scope": "text.html" + }, + "area": { + "prefix": "area", + "body": "\"$4\"$5", + "description": "HTML - Defines an area inside an image map", + "scope": "text.html" + }, + "article": { + "prefix": "article", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines an article", + "scope": "text.html" + }, + "aside": { + "prefix": "aside", + "body": [ + "$2" + ], + "description": "HTML - Defines content aside from the page content", + "scope": "text.html" + }, + "audio": { + "prefix": "audio", + "body": [ + "" + ], + "description": "HTML - Defines sounds content", + "scope": "text.html" + }, + "b": { + "prefix": "b", + "body": "$1$2", + "description": "HTML - Defines bold text", + "scope": "text.html" + }, + "base": { + "prefix": "base", + "body": "$3", + "description": "HTML - Defines a base URL for all the links in a page", + "scope": "text.html" + }, + "bdi": { + "prefix": "bdi", + "body": "$1$2", + "description": "HTML - Used to isolate text that is of unknown directionality", + "scope": "text.html" + }, + "bdo": { + "prefix": "bdo", + "body": [ + "", + "$2", + "" + ], + "description": "HTML - Defines the direction of text display", + "scope": "text.html" + }, + "big": { + "prefix": "big", + "body": "$1$2", + "description": "HTML - Used to make text bigger", + "scope": "text.html" + }, + "blockquote": { + "prefix": "blockquote", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a long quotation", + "scope": "text.html" + }, + "body": { + "prefix": "body", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines the body element", + "scope": "text.html" + }, + "br": { + "prefix": "br", + "body": "
", + "description": "HTML - Inserts a single line break", + "scope": "text.html" + }, + "button": { + "prefix": "button", + "body": "$3", + "description": "HTML - Defines a push button", + "scope": "text.html" + }, + "canvas": { + "prefix": "canvas", + "body": "$2$3", + "description": "HTML - Defines graphics", + "scope": "text.html" + }, + "caption": { + "prefix": "caption", + "body": "$1$2", + "description": "HTML - Defines a table caption", + "scope": "text.html" + }, + "cite": { + "prefix": "cite", + "body": "$1$2", + "description": "HTML - Defines a citation", + "scope": "text.html" + }, + "code": { + "prefix": "code", + "body": "$1$2", + "description": "HTML - Defines computer code text", + "scope": "text.html" + }, + "col": { + "prefix": "col", + "body": "$2", + "description": "HTML - Defines attributes for table columns", + "scope": "text.html" + }, + "colgroup": { + "prefix": "colgroup", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines group of table columns", + "scope": "text.html" + }, + "command": { + "prefix": "command", + "body": "$1$2", + "description": "HTML - Defines a command button [not supported]", + "scope": "text.html" + }, + "datalist": { + "prefix": "datalist", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines a dropdown list", + "scope": "text.html" + }, + "dd": { + "prefix": "dd", + "body": "
$1
$2", + "description": "HTML - Defines a definition description", + "scope": "text.html" + }, + "del": { + "prefix": "del", + "body": "$1$2", + "description": "HTML - Defines deleted text", + "scope": "text.html" + }, + "details": { + "prefix": "details", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines details of an element", + "scope": "text.html" + }, + "dialog": { + "prefix": "dialog", + "body": "$1$2", + "description": "HTML - Defines a dialog (conversation)", + "scope": "text.html" + }, + "dfn": { + "prefix": "dfn", + "body": "$1$2", + "description": "HTML - Defines a definition term", + "scope": "text.html" + }, + "div": { + "prefix": "div", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a section in a document", + "scope": "text.html" + }, + "dl": { + "prefix": "dl", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a definition list", + "scope": "text.html" + }, + "dt": { + "prefix": "dt", + "body": "
$1
$2", + "description": "HTML - Defines a definition term", + "scope": "text.html" + }, + "em": { + "prefix": "em", + "body": "$1$2", + "description": "HTML - Defines emphasized text", + "scope": "text.html" + }, + "embed": { + "prefix": "embed", + "body": "$2", + "description": "HTML - Defines external interactive content ot plugin", + "scope": "text.html" + }, + "fieldset": { + "prefix": "fieldset", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a fieldset", + "scope": "text.html" + }, + "figcaption": { + "prefix": "figcaption", + "body": "
$1
$2", + "description": "HTML - Defines a caption for a figure", + "scope": "text.html" + }, + "figure": { + "prefix": "figure", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a group of media content, and their caption", + "scope": "text.html" + }, + "footer": { + "prefix": "footer", + "body": [ + "" + ], + "description": "HTML - Defines a footer for a section or page", + "scope": "text.html" + }, + "form": { + "prefix": "form", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a form", + "scope": "text.html" + }, + "h1": { + "prefix": "h1", + "body": "

$1

$2", + "description": "HTML - Defines header 1", + "scope": "text.html" + }, + "h2": { + "prefix": "h2", + "body": "

$1

$2", + "description": "HTML - Defines header 2", + "scope": "text.html" + }, + "h3": { + "prefix": "h3", + "body": "

$1

$2", + "description": "HTML - Defines header 3", + "scope": "text.html" + }, + "h4": { + "prefix": "h4", + "body": "

$1

$2", + "description": "HTML - Defines header 4", + "scope": "text.html" + }, + "h5": { + "prefix": "h5", + "body": "
$1
$2", + "description": "HTML - Defines header 5", + "scope": "text.html" + }, + "h6": { + "prefix": "h6", + "body": "
$1
$2", + "description": "HTML - Defines header 6", + "scope": "text.html" + }, + "head": { + "prefix": "head", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines information about the document", + "scope": "text.html" + }, + "header": { + "prefix": "header", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines a header for a section of page", + "scope": "text.html" + }, + "hgroup": { + "prefix": "hgroup", + "body": [ + "
", + "\t$1", + "
" + ], + "description": "HTML - Defines information about a section in a document", + "scope": "text.html" + }, + "hr": { + "prefix": "hr", + "body": "
", + "description": "HTML - Defines a horizontal rule", + "scope": "text.html" + }, + "html": { + "prefix": "html", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines an html document", + "scope": "text.html" + }, + "html5": { + "prefix": "html5", + "body": [ + "", + "", + "\t", + "\t\t$2", + "\t\t", + "\t\t", + "\t\t", + "\t", + "\t", + "\t$4", + "\t", + "" + ], + "description": "HTML - Defines a template for a html5 document", + "scope": "text.html" + }, + "i": { + "prefix": "i", + "body": "$1$2", + "description": "HTML - Defines italic text", + "scope": "text.html" + }, + "iframe": { + "prefix": "iframe", + "body": "$3", + "description": "HTML - Defines an inline sub window", + "scope": "text.html" + }, + "img": { + "prefix": "img", + "body": "\"$2\"$3", + "description": "HTML - Defines an image", + "scope": "text.html" + }, + "input": { + "prefix": "input", + "body": "$4", + "description": "HTML - Defines an input field", + "scope": "text.html" + }, + "ins": { + "prefix": "ins", + "body": "$1$2", + "description": "HTML - Defines inserted text", + "scope": "text.html" + }, + "keygen": { + "prefix": "keygen", + "body": "$2", + "description": "HTML - Defines a generated key in a form", + "scope": "text.html" + }, + "kbd": { + "prefix": "kbd", + "body": "$1$2", + "description": "HTML - Defines keyboard text", + "scope": "text.html" + }, + "label": { + "prefix": "label", + "body": "$3", + "description": "HTML - Defines an inline window", + "scope": "text.html" + }, + "legend": { + "prefix": "legend", + "body": "$1$2", + "description": "HTML - Defines a title in a fieldset", + "scope": "text.html" + }, + "li": { + "prefix": "li", + "body": "
  • $1
  • $2", + "description": "HTML - Defines a list item", + "scope": "text.html" + }, + "link": { + "prefix": "link", + "body": "$4", + "description": "HTML - Defines a resource reference", + "scope": "text.html" + }, + "main": { + "prefix": "main", + "body": [ + "
    ", + "\t$1", + "
    " + ], + "description": "HTML - Defines an image map", + "scope": "text.html" + }, + "map": { + "prefix": "map", + "body": [ + "", + "\t$2", + "" + ], + "description": "HTML - Defines an image map", + "scope": "text.html" + }, + "mark": { + "prefix": "mark", + "body": "$1$2", + "description": "HTML - Defines marked text", + "scope": "text.html" + }, + "menu": { + "prefix": "menu", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines a menu list", + "scope": "text.html" + }, + "menuitem": { + "prefix": "menuitem", + "body": "$1$2", + "description": "HTML - Defines a menu item [firefox only]", + "scope": "text.html" + }, + "meta": { + "prefix": "meta", + "body": "$3", + "description": "HTML - Defines meta information", + "scope": "text.html" + }, + "meter": { + "prefix": "meter", + "body": "$2$3", + "description": "HTML - Defines measurement within a predefined range", + "scope": "text.html" + }, + "nav": { + "prefix": "nav", + "body": [ + "" + ], + "description": "HTML - Defines navigation links", + "scope": "text.html" + }, + "noscript": { + "prefix": "noscript", + "body": [ + "" + ], + "description": "HTML - Defines a noscript section", + "scope": "text.html" + }, + "object": { + "prefix": "object", + "body": "$4$5", + "description": "HTML - Defines an embedded object", + "scope": "text.html" + }, + "ol": { + "prefix": "ol", + "body": [ + "
      ", + "\t$1", + "
    " + ], + "description": "HTML - Defines an ordered list", + "scope": "text.html" + }, + "optgroup": { + "prefix": "optgroup", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines an option group", + "scope": "text.html" + }, + "option": { + "prefix": "option", + "body": "$3", + "description": "HTML - Defines an option in a drop-down list", + "scope": "text.html" + }, + "output": { + "prefix": "output", + "body": "$3$4", + "description": "HTML - Defines some types of output", + "scope": "text.html" + }, + "p": { + "prefix": "p", + "body": "

    $1

    $2", + "description": "HTML - Defines a paragraph", + "scope": "text.html" + }, + "param": { + "prefix": "param", + "body": "$3", + "description": "HTML - Defines a parameter for an object", + "scope": "text.html" + }, + "pre": { + "prefix": "pre", + "body": [ + "
    $1
    " + ], + "description": "HTML - Defines preformatted text", + "scope": "text.html" + }, + "progress": { + "prefix": "progress", + "body": "$3$4", + "description": "HTML - Defines progress of a task of any kind", + "scope": "text.html" + }, + "q": { + "prefix": "q", + "body": "$1$2", + "description": "HTML - Defines a short quotation", + "scope": "text.html" + }, + "rp": { + "prefix": "rp", + "body": "$1$2", + "description": "HTML - Used in ruby annotations to define what to show browsers that do not support the ruby element", + "scope": "text.html" + }, + "rt": { + "prefix": "rt", + "body": "$1$2", + "description": "HTML - Defines explanation to ruby annotations", + "scope": "text.html" + }, + "ruby": { + "prefix": "ruby", + "body": [ + "", + "$1", + "" + ], + "description": "HTML - Defines ruby annotations", + "scope": "text.html" + }, + "s": { + "prefix": "s", + "body": "$1$2", + "description": "HTML - Used to define strikethrough text", + "scope": "text.html" + }, + "samp": { + "prefix": "samp", + "body": "$1$2", + "description": "HTML - Defines sample computer code", + "scope": "text.html" + }, + "script": { + "prefix": "script", + "body": [ + "" + ], + "description": "HTML - Defines a script", + "scope": "text.html" + }, + "section": { + "prefix": "section", + "body": [ + "
    ", + "\t$1", + "
    " + ], + "description": "HTML - Defines a section", + "scope": "text.html" + }, + "select": { + "prefix": "select", + "body": [ + "" + ], + "description": "HTML - Defines a selectable list", + "scope": "text.html" + }, + "small": { + "prefix": "small", + "body": "$1$2", + "description": "HTML - Defines small text", + "scope": "text.html" + }, + "source": { + "prefix": "source", + "body": "$3", + "description": "HTML - Defines media resource", + "scope": "text.html" + }, + "span": { + "prefix": "span", + "body": "$1$2", + "description": "HTML - Defines a section in a document", + "scope": "text.html" + }, + "strong": { + "prefix": "strong", + "body": "$1$2", + "description": "HTML - Defines strong text", + "scope": "text.html" + }, + "style": { + "prefix": "style", + "body": [ + "" + ], + "description": "HTML - Defines a style definition", + "scope": "text.html" + }, + "sub": { + "prefix": "sub", + "body": "$1$2", + "description": "HTML - Defines sub-scripted text", + "scope": "text.html" + }, + "sup": { + "prefix": "sup", + "body": "$1$2", + "description": "HTML - Defines super-scripted text", + "scope": "text.html" + }, + "summary": { + "prefix": "summary", + "body": "$1$2", + "description": "HTML - Defines a visible heading for the detail element [limited support]", + "scope": "text.html" + }, + "table": { + "prefix": "table", + "body": [ + "", + "\t$1", + "
    " + ], + "description": "HTML - Defines a table", + "scope": "text.html" + }, + "tbody": { + "prefix": "tbody", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines a table body", + "scope": "text.html" + }, + "td": { + "prefix": "td", + "body": "$1$2", + "description": "HTML - Defines a table cell", + "scope": "text.html" + }, + "textarea": { + "prefix": "textarea", + "body": "$4", + "description": "HTML - Defines a text area", + "scope": "text.html" + }, + "tfoot": { + "prefix": "tfoot", + "body": [ + "", + "\t$1", + "" + ], + "description": "HTML - Defines a table footer", + "scope": "text.html" + }, + "thead": { + "prefix": "thead", + "body": [ + "", + "$1", + "" + ], + "description": "HTML - Defines a table head", + "scope": "text.html" + }, + "th": { + "prefix": "th", + "body": "$1$2", + "description": "HTML - Defines a table header", + "scope": "text.html" + }, + "time": { + "prefix": "time", + "body": "$3", + "description": "HTML - Defines a date/time", + "scope": "text.html" + }, + "title": { + "prefix": "title", + "body": "$1$2", + "description": "HTML - Defines the document title", + "scope": "text.html" + }, + "tr": { + "prefix": "tr", + "body": "$1$2", + "description": "HTML - Defines a table row", + "scope": "text.html" + }, + "track": { + "prefix": "track", + "body": "$5", + "description": "HTML - Defines a table row", + "scope": "text.html" + }, + "u": { + "prefix": "u", + "body": "$1$2", + "description": "HTML - Used to define underlined text", + "scope": "text.html" + }, + "ul": { + "prefix": "ul", + "body": [ + "" + ], + "description": "HTML - Defines an unordered list", + "scope": "text.html" + }, + "var": { + "prefix": "var", + "body": "$1$2", + "description": "HTML - Defines a variable", + "scope": "text.html" + }, + "video": { + "prefix": "video", + "body": [ + "" + ], + "description": "HTML - Defines a video", + "scope": "text.html" + }, + "block": { + "prefix": "block", + "body": [ + "{% block $1 %}", + "\t$0", + "{% endblock $1 %}" + ], + "description": "Tera - Block" + }, + "{{": { + "prefix": "{{", + "body": [ + "{{ $1 }}" + ], + "description": "Tera - Double curly brackets" + }, + "in": { + "prefix": "in", + "body": [ + "{{ $1 in $2 }}" + ], + "description": "Tera - In checking" + }, + "set": { + "prefix": "set", + "body": [ + "{% set $1 = $2 %}" + ], + "description": "Tera - Assign value" + }, + "set_global": { + "prefix": "set_global", + "body": [ + "{% set_global $1 = $2 %}" + ], + "description": "Tera - Assign global value" + }, + "filtersection": { + "prefix": "filtersection", + "body": [ + "{% filter $1 %}", + "\t$0", + "{% endfilter %}" + ], + "description": "Tera - Filter section" + }, + "filter": { + "prefix": "filter", + "body": [ + "| ${1|lower,upper,wordcount,capitalize,replace,addslashes,slugify,title,trim,trim_start,trim_end,trim_start_matches,trim_end_matches,truncate,linebreaksbr,spaceless,striptags,first,last,nth,join,length,reverse,sort|}" + ], + "description": "Tera - filter" + }, + "if": { + "prefix": "if", + "body": [ + "{% if $1 ${2|is,==,<,>,<=,>=,!=|} $3 %}", + "\t$0", + "{% endif %}" + ], + "description": "Tera - If conditional" + }, + "if2": { + "prefix": "if2", + "body": [ + "{% if $1 ${2|is,==,<,>,<=,>=,!=|} $3 ${4|and,and not,or,or not|} $5 ${6|is,==,<,>,<=,>=,!=|} $7 %}", + "\t$0", + "{% endif %}" + ], + "description": "Tera - If clause with two conditions" + }, + "ifelse": { + "prefix": "ifelse", + "body": [ + "{% if $1 ${2|is,==,<,>,<=,>=,!=|} $3 %}", + "\t$4", + "{% else %}", + "\t$0", + "{% endif %}" + ], + "description": "Tera - If else" + }, + "ifelif": { + "prefix": "ifelif", + "body": [ + "{% if $1 ${2|is,==,<,>,<=,>=,!=|} $3 %}", + "\t$7", + "{% elif $4 ${5|is,==,<,>,<=,>=,!=|} $6 %}", + "\t$8", + "{% else %}", + "\t$0", + "{% endif %}" + ], + "description": "Tera - If elif" + }, + "else": { + "prefix": "else", + "body": [ + "{% else %}", + "\t$0" + ], + "description": "Tera - Else" + }, + "elif": { + "prefix": "elif", + "body": [ + "{% elif $1 ${2|is,==,<,>,<=,>=|} $3 %}", + "\t$0" + ], + "description": "Tera - Elif" + }, + "for": { + "prefix": "for", + "body": [ + "{% for $1 in $2 %}", + "\t$0", + "{% endfor %}" + ], + "description": "Tera - For loop" + }, + "for2": { + "prefix": "for2", + "body": [ + "{% for $1, $2 in $3 %}", + "\t$0", + "{% endfor %}" + ], + "description": "Tera - For loop with two variables" + }, + "forelse": { + "prefix": "forelse", + "body": [ + "{% for $1 in $2 %}", + "\t$0", + "{% endfor %}" + ], + "description": "Tera - For else" + }, + "extends": { + "prefix": "extends", + "body": [ + "{% extends \"$1.html\" %}" + ], + "description": "Tera - Extends" + }, + "macro": { + "prefix": "macro", + "body": [ + "{% macro ${1:macroname}(${2:arg}) %}", + "\t$0", + "{% endmacro ${1:macroname} %}" + ], + "description": "Tera - Macro definition" + }, + "importmacro": { + "prefix": "importmacro", + "body": [ + "{% import \"$1.html\" as $1 %}" + ], + "description": "Tera - Import macro" + }, + "include": { + "prefix": "include", + "body": [ + "{% include $0 %}" + ], + "description": "Tera - Include template" + }, + "includeignoremissing": { + "prefix": "includeignoremissing", + "body": [ + "{% include $1 ignore missing %}" + ], + "description": "Tera - Include with ignore missing" + }, + "includelist": { + "prefix": "includelist", + "body": [ + "{% include [$1, $2] %}" + ], + "description": "Tera - Include list of templates" + } +} -- cgit v1.2.3