From 8e695a5affd72efd05ba16b4c54e5498abd8e8d2 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 3 May 2020 13:12:16 +0200 Subject: [PATCH] syntax highlighting --- .drone.yml | 2 +- content/snippets/esp32/platformio/index.en.md | 4 ++-- static/css/style.css | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 335813a..65c533c 100644 --- a/.drone.yml +++ b/.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 diff --git a/content/snippets/esp32/platformio/index.en.md b/content/snippets/esp32/platformio/index.en.md index ceb0f10..a260848 100644 --- a/content/snippets/esp32/platformio/index.en.md +++ b/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 * diff --git a/static/css/style.css b/static/css/style.css index 6973a89..7ce9d11 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -13,3 +13,7 @@ li { .navbar .nav > li > a::first-letter { color: #fefe54; } + +.highlight td pre { + word-break: initial; +}