aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/django.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/highlight.js/lib/languages/django.js
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/highlight.js/lib/languages/django.js')
-rw-r--r--node_modules/highlight.js/lib/languages/django.js63
1 files changed, 0 insertions, 63 deletions
diff --git a/node_modules/highlight.js/lib/languages/django.js b/node_modules/highlight.js/lib/languages/django.js
deleted file mode 100644
index 45cc0d313..000000000
--- a/node_modules/highlight.js/lib/languages/django.js
+++ /dev/null
@@ -1,63 +0,0 @@
-module.exports = function(hljs) {
- var FILTER = {
- begin: /\|[A-Za-z]+:?/,
- keywords: {
- name:
- 'truncatewords removetags linebreaksbr yesno get_digit timesince random striptags ' +
- 'filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands ' +
- 'title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode ' +
- 'timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort ' +
- 'dictsortreversed default_if_none pluralize lower join center default ' +
- 'truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first ' +
- 'escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize ' +
- 'localtime utc timezone'
- },
- contains: [
- hljs.QUOTE_STRING_MODE,
- hljs.APOS_STRING_MODE
- ]
- };
-
- return {
- aliases: ['jinja'],
- case_insensitive: true,
- subLanguage: 'xml',
- contains: [
- hljs.COMMENT(/\{%\s*comment\s*%}/, /\{%\s*endcomment\s*%}/),
- hljs.COMMENT(/\{#/, /#}/),
- {
- className: 'template-tag',
- begin: /\{%/, end: /%}/,
- contains: [
- {
- className: 'name',
- begin: /\w+/,
- keywords: {
- name:
- 'comment endcomment load templatetag ifchanged endifchanged if endif firstof for ' +
- 'endfor ifnotequal endifnotequal widthratio extends include spaceless ' +
- 'endspaceless regroup ifequal endifequal ssi now with cycle url filter ' +
- 'endfilter debug block endblock else autoescape endautoescape csrf_token empty elif ' +
- 'endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix ' +
- 'plural get_current_language language get_available_languages ' +
- 'get_current_language_bidi get_language_info get_language_info_list localize ' +
- 'endlocalize localtime endlocaltime timezone endtimezone get_current_timezone ' +
- 'verbatim'
- },
- starts: {
- endsWithParent: true,
- keywords: 'in by as',
- contains: [FILTER],
- relevance: 0
- }
- }
- ]
- },
- {
- className: 'template-variable',
- begin: /\{\{/, end: /}}/,
- contains: [FILTER]
- }
- ]
- };
-}; \ No newline at end of file