From 48696ad06cf61baa9b13d000cec56208acbfb65f Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 5 Aug 2024 19:54:00 +0200 Subject: [PATCH] Lint markdown in README. --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index af08cf0..3ed5062 100644 --- a/README.md +++ b/README.md @@ -6,24 +6,23 @@ Site generated with [Hugo][] using the [hermit-v2][] theme. Build site: -``` -$ docker compose up build +```bash +docker compose up build ``` -Run development server with live refresh: +Run development server with live refresh and draft as well as future post +rendering enabled: -``` -$ docker compose up server +```bash +docker compose up server ``` Add new posts: +```bash +docker compose up -d server +docker compose exec server new content/posts/2024-07-31-my-new-blog-post.md ``` -$ docker compose up -d server -$ docker compose exec server new content/posts/2024-07-31-my-new-blog-post.md -``` - - [hermit-v2]: https://github.com/1bl4z3r/hermit-V2 [Hugo]: https:/gohugo.io \ No newline at end of file