mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +00:00
feat: add kotlin syntax highlighting (#11)
This commit is contained in:
parent
ab7cdc5d3c
commit
70714089fe
5 changed files with 23 additions and 27 deletions
|
@ -1,5 +1,5 @@
|
||||||
<!-- js -->
|
<!-- js -->
|
||||||
<script src="{{ "lib/highlight/highlight.pack.js" | relURL }}"></script>
|
<script src="{{ "lib/highlight/highlight.pack.js?v=20171001" | relURL }}"></script>
|
||||||
{{ if .Site.Params.bootcdn -}}
|
{{ if .Site.Params.bootcdn -}}
|
||||||
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js" crossorigin="anonymous"></script>
|
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" src="https://cdn.bootcss.com/slideout/1.0.1/slideout.min.js" crossorigin="anonymous"></script>
|
<script type="text/javascript" src="https://cdn.bootcss.com/slideout/1.0.1/slideout.min.js" crossorigin="anonymous"></script>
|
||||||
|
|
|
@ -210,47 +210,43 @@ $code-highlight-color: (
|
||||||
// Code type list.
|
// Code type list.
|
||||||
$code-type-list: (
|
$code-type-list: (
|
||||||
// Custom code type
|
// Custom code type
|
||||||
|
language-bash: "Bash",
|
||||||
|
language-c: "C",
|
||||||
|
language-cs: "C#",
|
||||||
|
language-cpp: "C++",
|
||||||
|
language-css: "CSS",
|
||||||
|
language-coffeescript: "CoffeeScript",
|
||||||
language-html: "HTML",
|
language-html: "HTML",
|
||||||
language-coffeescript: "Coffeescript",
|
language-xml: "XML",
|
||||||
language-makefile: "Makefile",
|
language-http: "HTTP",
|
||||||
language-markdown: "Markdown",
|
language-json: "JSON",
|
||||||
|
language-java: "Java",
|
||||||
language-js: "JavaScript",
|
language-js: "JavaScript",
|
||||||
language-javascript: "JavaScript",
|
language-javascript: "JavaScript",
|
||||||
language-bash: "Bash",
|
language-makefile: "Makefile",
|
||||||
language-css: "CSS",
|
language-markdown: "Markdown",
|
||||||
language-java: "Java",
|
|
||||||
language-xml: "XML",
|
|
||||||
language-python: "Python",
|
|
||||||
language-json: "JSON",
|
|
||||||
language-ruby: "Ruby",
|
|
||||||
language-php: "PHP",
|
|
||||||
language-c: "C",
|
|
||||||
language-cpp: "C++",
|
|
||||||
language-cs: "C#",
|
|
||||||
language-objectivec: "Objective-C",
|
language-objectivec: "Objective-C",
|
||||||
|
language-php: "PHP",
|
||||||
|
language-perl: "Perl",
|
||||||
|
language-python: "Python",
|
||||||
|
language-ruby: "Ruby",
|
||||||
language-sql: "SQL",
|
language-sql: "SQL",
|
||||||
language-http: "HTTP",
|
|
||||||
language-shell: "Shell",
|
language-shell: "Shell",
|
||||||
|
|
||||||
language-clojure: "Clojure",
|
|
||||||
language-elm: "elm",
|
|
||||||
language-erlang: "Erlang",
|
language-erlang: "Erlang",
|
||||||
language-go: "Go",
|
language-go: "Go",
|
||||||
language-groovy: "Groovy",
|
language-groovy: "Groovy",
|
||||||
language-handlebars: "Handlebars",
|
|
||||||
language-haskell: "Haskell",
|
language-haskell: "Haskell",
|
||||||
|
language-kotlin: "Kotlin",
|
||||||
language-less: "Less",
|
language-less: "Less",
|
||||||
language-lisp: "Lisp",
|
language-lisp: "Lisp",
|
||||||
language-lua: "Lua",
|
language-lua: "Lua",
|
||||||
language-matlab: "Matlab",
|
language-matlab: "Matlab",
|
||||||
language-prolog: "Prolog",
|
|
||||||
language-rust: "Rust",
|
language-rust: "Rust",
|
||||||
language-scss: "Scss",
|
language-scss: "Scss",
|
||||||
language-scala: "Scala",
|
language-scala: "Scala",
|
||||||
language-scheme: "Scheme",
|
|
||||||
language-stylus: "Stylus",
|
|
||||||
language-swift: "Swift",
|
language-swift: "Swift",
|
||||||
language-typescript: "Typescript",
|
language-typescript: "TypeScript",
|
||||||
language-yml: "YAML",
|
language-yml: "YAML",
|
||||||
language-yaml: "YAML",
|
language-yaml: "YAML",
|
||||||
language-toml: "TOML"
|
language-toml: "TOML"
|
||||||
|
|
2
static/dist/even.min.css
vendored
2
static/dist/even.min.css
vendored
File diff suppressed because one or more lines are too long
2
static/dist/even.min.css.map
vendored
2
static/dist/even.min.css.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue