Permalink
Browse files

add chroma stylesheet and enable syntax highlighting

  • Loading branch information...
ansemjo committed Aug 7, 2018
1 parent 1d45e3f commit 0ba248323335295a3c972daa5a8c931cfd025460
Showing with 69 additions and 4 deletions.
  1. +3 −0 config.yaml
  2. +4 −3 content/post/install-esxi-6.5-on-a-supermicro-x10sba.md
  3. +60 −0 static/css/syntax.css
  4. +1 −0 themes/.keep
  5. +1 −1 themes/plain
@@ -32,3 +32,6 @@ menu:

blackfriday:
noreferrerLinks: yes
pygmentsUseClasses: yes
pygmentsCodefences: yes
pygmentsCodefencesGuessSyntax: yes
@@ -61,7 +61,8 @@ work great for me:

To connect from my laptop, I use [picocom](https://linux.die.net/man/8/picocom)
after adding my user to the `uucp` group:
```

```shell
$ ll /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 Jan 19 16:15 /dev/ttyUSB0
$ picocom -b 115200 /dev/ttyUSB0
@@ -107,7 +108,7 @@ with `mkfs.vfat`:
[post]: https://communities.vmware.com/thread/474473
[scripted approach]: https://superuser.com/a/984637

```
```shell
$ sed 's/\s*\([^\s]*\) #.*/\1/' <<EOF | fdisk /dev/sdX
o # new msdos partiton table
n # new partition
@@ -128,7 +129,7 @@ $ mkfs.vfat -F 32 -n USB /dev/sdX1
Now mount that partition somewhere, install Syslinux on it and copy the VMware
Installer ISO.

```
```shell
$ cat /usr/lib/syslinux/bios/mbr.bin > /dev/sdX
$ syslinux /dev/sdX1
$ mount /dev/sdX1 /mnt
@@ -0,0 +1,60 @@
/* chroma style: dracula */
.chroma { color: #f8f8f2; background-color: #282a36 }
.chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
.chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
.chroma .hl { display: block; width: 100%;background-color: #ffffcc }
.chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
.chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
.chroma .k { color: #ff79c6 }
.chroma .kc { color: #ff79c6 }
.chroma .kd { color: #8be9fd; font-style: italic }
.chroma .kn { color: #ff79c6 }
.chroma .kp { color: #ff79c6 }
.chroma .kr { color: #ff79c6 }
.chroma .kt { color: #8be9fd }
.chroma .na { color: #50fa7b }
.chroma .nb { color: #8be9fd; font-style: italic }
.chroma .nc { color: #50fa7b }
.chroma .nf { color: #50fa7b }
.chroma .nl { color: #8be9fd; font-style: italic }
.chroma .nt { color: #ff79c6 }
.chroma .nv { color: #8be9fd; font-style: italic }
.chroma .vc { color: #8be9fd; font-style: italic }
.chroma .vg { color: #8be9fd; font-style: italic }
.chroma .vi { color: #8be9fd; font-style: italic }
.chroma .s { color: #f1fa8c }
.chroma .sa { color: #f1fa8c }
.chroma .sb { color: #f1fa8c }
.chroma .sc { color: #f1fa8c }
.chroma .dl { color: #f1fa8c }
.chroma .sd { color: #f1fa8c }
.chroma .s2 { color: #f1fa8c }
.chroma .se { color: #f1fa8c }
.chroma .sh { color: #f1fa8c }
.chroma .si { color: #f1fa8c }
.chroma .sx { color: #f1fa8c }
.chroma .sr { color: #f1fa8c }
.chroma .s1 { color: #f1fa8c }
.chroma .ss { color: #f1fa8c }
.chroma .m { color: #bd93f9 }
.chroma .mb { color: #bd93f9 }
.chroma .mf { color: #bd93f9 }
.chroma .mh { color: #bd93f9 }
.chroma .mi { color: #bd93f9 }
.chroma .il { color: #bd93f9 }
.chroma .mo { color: #bd93f9 }
.chroma .o { color: #ff79c6 }
.chroma .ow { color: #ff79c6 }
.chroma .c { color: #6272a4 }
.chroma .ch { color: #6272a4 }
.chroma .cm { color: #6272a4 }
.chroma .c1 { color: #6272a4 }
.chroma .cs { color: #6272a4 }
.chroma .cp { color: #ff79c6 }
.chroma .cpf { color: #ff79c6 }
.chroma .gd { color: #8b080b }
.chroma .ge { }
.chroma .gh { font-weight: bold }
.chroma .gi { font-weight: bold }
.chroma .go { color: #44475a }
.chroma .gu { font-weight: bold }
@@ -0,0 +1 @@
includes theme submodules

0 comments on commit 0ba2483

Please sign in to comment.