From ed34828b0bd5615fdc59593f1e3c8ba91809e0d1 Mon Sep 17 00:00:00 2001 From: facundoolano Date: Fri, 16 Feb 2024 12:54:31 -0300 Subject: [PATCH] update expected api in readme --- README.md | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 500c14f..c0c2473 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ Or install with go: Usage: -```shell +```bash $ blorg init myblog - site name: My Blog - author: Facundo +> site name: My Blog +> author: Facundo added myblog/README.md added myblog/.gitignore @@ -30,28 +30,35 @@ $ blorg init myblog added myblog/src/blog/hello.org added myblog/src/feed.xml added myblog/src/tags.html + $ cd myblog $ blorg post "My First Post" - added src/blog/my-first-post.org -$ blorg serve & + added draft src/blog/my-first-post.org + +# serve the site locally with live reload +$ blorg serve server running at http://localhost:4001/ + +# browse to the new post +$ open http://localhost:4001/blog/my-first-post + +# add some content $ cat >> src/blog/test.org <