Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bake/solar-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorbake <bake@192k.pw>2018-04-16 22:37:12 +0300
committerbake <bake@192k.pw>2018-04-16 22:37:12 +0300
commitbface1a019296e1fa5c47a3d78c82d082ea69e86 (patch)
tree47b6365c299fda53c8699bc0f8fe588997896201 /static
parent2ada045c80d3aaec981a0cab4e71e0e3339f2362 (diff)
added highlightjs go
Diffstat (limited to 'static')
-rw-r--r--static/js/highlight.go.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/highlight.go.min.js b/static/js/highlight.go.min.js
new file mode 100644
index 0000000..cf58a7e
--- /dev/null
+++ b/static/js/highlight.go.min.js
@@ -0,0 +1 @@
+hljs.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],k:t,i:"</",c:[e.CLCM,e.CBCM,{cN:"string",v:[e.QSM,{b:"'",e:"[^\\\\]'"},{b:"`",e:"`"}]},{cN:"number",v:[{b:e.CNR+"[dflsi]",r:1},e.CNM]},{b:/:=/},{cN:"function",bK:"func",e:/\s*\{/,eE:!0,c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,i:/["']/}]}]}}); \ No newline at end of file