https://sublime.wbond.net/installation#st3
- Source Code Pro -
sourcecodepro.sh
- Hack -
hack.sh
@import 'foo'; // requires _foo.scss | |
$string: ".foo" | |
$list: () | |
@mixin foo($color: blue) { | |
color: $color; | |
} |
https://sublime.wbond.net/installation#st3
sourcecodepro.sh
hack.sh
<template> | |
<pre> | |
<code class="hljs" :class="hljsCode.language">{{{ hljsCode.value }}}</code> | |
</pre> | |
</template> | |
<script> | |
import hljs from 'highlight.js' | |
hljs.configure({ |
// get youtube video id | |
function getYtId (url) { | |
let match = url.match(/^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#&\?]*).*/) | |
if (match) { | |
return match[1] | |
} | |
return '' | |
} |