Browse Source

syntax highlighting

main
Hendrik Langer 5 years ago
parent
commit
8e695a5aff
  1. 2
      .drone.yml
  2. 4
      content/snippets/esp32/platformio/index.en.md
  3. 4
      static/css/style.css

2
.drone.yml

@ -13,7 +13,7 @@ steps:
- git lfs fetch --all - git lfs fetch --all
- name: build - name: build
image: plugins/hugo image: klakegg/hugo
settings: settings:
hugo_version: hugo_version:
url: https://h3ndrik.de url: https://h3ndrik.de

4
content/snippets/esp32/platformio/index.en.md

@ -33,7 +33,7 @@ platformio project init --board esp-wrover-kit
## Configuration ## Configuration
#### platformio.ini: #### platformio.ini:
```ini ```ini {linenos=table}
[env:esp-wrover-kit] [env:esp-wrover-kit]
platform = espressif32 platform = espressif32
board = esp-wrover-kit board = esp-wrover-kit
@ -55,7 +55,7 @@ monitor_speed = 115200
## Code ## Code
#### src/main.cpp: #### src/main.cpp:
```c++ ```c++ {linenos=table}
/** /**
* Blink * Blink
* *

4
static/css/style.css

@ -13,3 +13,7 @@ li {
.navbar .nav > li > a::first-letter { .navbar .nav > li > a::first-letter {
color: #fefe54; color: #fefe54;
} }
.highlight td pre {
word-break: initial;
}

Loading…
Cancel
Save