From 5a1692505ed1c08c8c2b78ccc4574bf0a1c8f896 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sun, 14 Jul 2024 12:19:03 -0400 Subject: Switch back to smu for markdown parsing --- README.md | 18 +++++++++++------- index.md | 15 +++++++++++---- posts/qol.md | 2 ++ 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e0275c1..8bc1d01 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,12 @@ linux ----- - rsync -- lowdown +- coreutils - entr (optonal) -- standard UNIX tools Example on Alpine: - sudo apk add rsync lowdown + sudo apk add rsync openbsd ------- @@ -55,13 +54,12 @@ https://barf.btxx.org/openbsd - coreutils - gcc - cmake -- lowdown - gsed - entr (optional) Example: - doas pkg_add coreutils gcc cmake lowdown gsed + doas pkg_add coreutils gcc cmake gsed macOS ----- @@ -72,12 +70,11 @@ https://barf.btxx.org/macos - coreutils - gnu-sed - rsync -- lowdown - entr (optional) Example: - brew install coreutils gnu-sed rsync lowdown + brew install coreutils gnu-sed rsync basic setup ----------- @@ -87,6 +84,13 @@ and "footer.html" files with your own information, navigation, etc. Be sure to edit the **domain** variable inside `barf` or else your feed won't validate! +Next, clone and install the minimal markdown parser `smu`: + + git clone https://git.sr.ht/~bt/smu + cd smu + make + make install + Then build: make build diff --git a/index.md b/index.md index 4d60d42..0476f1b 100644 --- a/index.md +++ b/index.md @@ -18,19 +18,26 @@ You can learn more by reading the [official README](https://git.sr.ht/~bt/barf). For Linux (Alpine example): - sudo apk add rsync lowdown coreutils + sudo apk add rsync coreutils For macOS: - brew install rsync lowdown coreutils gnu-sed + brew install rsync coreutils gnu-sed For OpenBSD: - doas pkg_add lowdown coreutils gsed cmake gcc + doas pkg_add coreutils gsed cmake gcc + +**Clone `smu` for markdown parsing:** + + git clone https://git.sr.ht/~bt/smu + cd smu + make + make install **Clone barf:** - git clone https://git.btxx.org/barf + git clone https://git.sr.ht/~bt/barf 1. Open project, change the `domain` variable at the top of the core barf file 2. Run: `make build` diff --git a/posts/qol.md b/posts/qol.md index 57da105..5e2e5a3 100644 --- a/posts/qol.md +++ b/posts/qol.md @@ -19,6 +19,8 @@ I haven't circled back to `barf` in quite a bit of time, so I'm happy to announc **Swapped out `smu` for `lowdown`** +> IMPORTANT! This is no longer true. I have gone to back to using my own forked version of `smu` + * The default Markdown parser is now set to `lowdown`. The original parser (`smu`) is great, but I wanted to make the project simpler by avoiding users to clone and build a separate package. That's it really! I've also updated the original blog posts about setting up `barf` on macOS and OpenBSD to reflect these changes. -- cgit v1.2.3-54-g00ecf