commit 5a1692505ed1c08c8c2b78ccc4574bf0a1c8f896 from: Bradley Taunt date: Sun Jul 14 16:19:03 2024 UTC Switch back to smu for markdown parsing commit - 2ae81e366af0539a1b55de722c22c0a13fe2cada commit + 5a1692505ed1c08c8c2b78ccc4574bf0a1c8f896 blob - e0275c18e90a24d61303f48d0011226dd23f5736 blob + 8bc1d01d6bea6019599328aa9f36b27059ab8812 --- README.md +++ 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, nav 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 blob - 4d60d42413a9e81deb5cd9384fa7316486e8f484 blob + 0476f1b7567cc711b316324ff35aa2b3dc8148b7 --- index.md +++ index.md @@ -18,19 +18,26 @@ You can learn more by reading the [official README](ht 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` blob - 57da1054c8592dda0167e04354e8bb886529d776 blob + 5e2e5a37ba4ba3e9514710e20cadd7e9af95bffb --- posts/qol.md +++ posts/qol.md @@ -19,6 +19,8 @@ I haven't circled back to `barf` in quite a bit of tim **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.