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
- name: build
image: plugins/hugo
image: klakegg/hugo
settings:
hugo_version:
url: https://h3ndrik.de

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

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

4
static/css/style.css

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

Loading…
Cancel
Save