From 279dacff7ad8da55af76b1df08fddbc19db6fbb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Fr=C3=B3es=20Franco?= Date: Sun, 31 May 2026 15:23:24 +0000 Subject: [PATCH] dev: add a colorize section to the scratch sample wiki The sample wiki had no place to exercise :VimwikiColorize. Add a "Colour spans" section to Syntax.wiki with words/phrases to wrap (and an already- colorized span to render), plus a pointer in index.wiki's "Commands to try" list. Lets the start-* launchers smoke-test the colorize fix. Co-Authored-By: Claude Opus 4.8 (1M context) --- development/_common.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/development/_common.sh b/development/_common.sh index d48fe30..1da5d49 100644 --- a/development/_common.sh +++ b/development/_common.sh @@ -78,6 +78,7 @@ One page per feature group: - :NuwikiGenerateLinks - :NuwikiCheckLinks - :NuwikiMakeDiaryNote +- :VimwikiColorize red — on a word in [[Syntax]] (or wc) :sample:smoke-test:sandbox: EOF @@ -92,6 +93,18 @@ Back to [[index]]. *bold*, _italic_, *_bold italic_*, ~~strikethrough~~, `inline code`, super^script^ and sub,,script,,, and inline math $e^{i\pi} + 1 = 0$. +== Colour spans (:VimwikiColorize) == + +Put the cursor on a word and run `:VimwikiColorize red` (or press +`wc` and type a colour); or visually select a phrase and press +`wc`. Each wraps the target in ``. + +- colorize this important word +- now select and colour this whole phrase +- hex works too: paint deepskyblue on this token + +Already colorized: dodger blue. + == Keywords == TODO STARTED FIXME XXX DONE FIXED STOPPED