cripslock

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0f7fa3aa37e38230c84e0b5f491b115a63962382
parent 91c4682213b744607086b213158246bdf05c0eeb
Author: Daniel Barlow <dan@telent.net>
Date:   Tue, 15 Jul 2025 23:18:36 +0100

add another nested markup tag

Diffstat:
Mtextile.fnl | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/textile.fnl b/textile.fnl @@ -111,8 +111,13 @@ (expect= (inline-markup "foo @1+_2_+3@") ["foo " [:code "1+_2_+3"] ]) (expect= (inline-markup "foo *strong*") ["foo " [:strong "strong"]]) + + ;; nested markup (expect= (inline-markup "foo *strong _em_*") ["foo " [:strong "strong " [:em "em"]]]) + ;; nested the other way around + (expect= (inline-markup "john _paul *george*_") + ["john " [:em "paul " [:strong "george"]]]) )