From d5a2c8694c04fe4a7d971735886489eaa690d212 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 29 Jul 2023 14:45:01 -0400 Subject: [PATCH] ::: spoiler markdown support --- docs/changelog.txt | 2 ++ docs/honk.5 | 7 +++++++ go.mod | 4 +--- go.sum | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 9ba4351..f120f7a 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -2,6 +2,8 @@ changelog === next ++ ::: spoiler markdown + + New threaded display order. + Improved search. diff --git a/docs/honk.5 b/docs/honk.5 index 0c4a404..c643889 100644 --- a/docs/honk.5 +++ b/docs/honk.5 @@ -70,6 +70,13 @@ will be autolinked. Exactly three dashes on a line, .Dq --- , will become a horizontal rule. +.It spoilers +Hide blocks of text between triple colon delimted regions. +.Bd -literal +::: warning +text that should be hidden behind a warning +::: +.Ed .El .Pp If the first line of a honk begins with diff --git a/go.mod b/go.mod index 22fd146..8afc19c 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,5 @@ require ( golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 humungus.tedunangst.com/r/go-sqlite3 v1.1.3 - humungus.tedunangst.com/r/webs v0.6.63 + humungus.tedunangst.com/r/webs v0.6.66 ) - -replace humungus.tedunangst.com/r/webs => ../webs diff --git a/go.sum b/go.sum index 953c460..93eefd6 100644 --- a/go.sum +++ b/go.sum @@ -25,5 +25,5 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= humungus.tedunangst.com/r/go-sqlite3 v1.1.3 h1:G2N4wzDS0NbuvrZtQJhh4F+3X+s7BF8b9ga8k38geUI= humungus.tedunangst.com/r/go-sqlite3 v1.1.3/go.mod h1:FtEEmQM7U2Ey1TuEEOyY1BmphTZnmiEjPsNLEAkpf/M= -humungus.tedunangst.com/r/webs v0.6.63 h1:Nrf8zqFnlxKKa0VChCq4nD3exItrJvVTZC1jYNvTx2M= -humungus.tedunangst.com/r/webs v0.6.63/go.mod h1:03R0N9BcT49HB4TDd1YmarpbiPvPzVDm74Mk4h1hYPc= +humungus.tedunangst.com/r/webs v0.6.66 h1:+3cB6m1tBtO/Sc9+ggAZP7MNo76Dm66+mMWc1Kub34k= +humungus.tedunangst.com/r/webs v0.6.66/go.mod h1:03R0N9BcT49HB4TDd1YmarpbiPvPzVDm74Mk4h1hYPc=