~docs/oob-code: highlight source text with syntax coloring
Was displaying plain text in (code text). Now calls (highlight text) to produce colored SX output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
:sx-swap-oob "innerHTML"
|
:sx-swap-oob "innerHTML"
|
||||||
(div
|
(div
|
||||||
:class "not-prose bg-stone-100 rounded p-4 mt-3"
|
:class "not-prose bg-stone-100 rounded p-4 mt-3"
|
||||||
(pre :class "text-sm whitespace-pre-wrap break-words" (code text)))))
|
(pre :class "text-sm whitespace-pre-wrap break-words" (highlight text)))))
|
||||||
|
|
||||||
(defcomp
|
(defcomp
|
||||||
~docs/attr-table
|
~docs/attr-table
|
||||||
|
|||||||
Reference in New Issue
Block a user