From 0f60b5f74919b8841bf9d8a9658d031e4fc503d1 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 17 Feb 2024 01:02:24 +0100 Subject: feat(creole): Support strong/bold --- src/creole_test_main.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/creole_test_main.c') diff --git a/src/creole_test_main.c b/src/creole_test_main.c index 1157721..334ba43 100644 --- a/src/creole_test_main.c +++ b/src/creole_test_main.c @@ -151,6 +151,21 @@ struct { "http://www.wikicreole.org. This is what can go wrong " "this should be an italic text.

" }, + { + .name = "Bold", + .input = "**Strong**", + .output = "

Strong

" + }, + { + .name = "Nested bold/italic", + .input = "//**Strong and emphasized**//", + .output = "

Strong and emphasized

" + }, + { + .name = "Alternating bold/italic doesn't work", + .input = "//**Strong and emphasized//**", + .output = "

**Strong and emphasized**

" + }, #if 0 { .name = "Simple unordered list", @@ -219,11 +234,6 @@ struct { .input = "Inline {{{tt}}} example {{{here}}}!", .output = "

Inline tt example here!

" }, - { - .name = "Strong", - .input = "**Strong**", - .output = "

Strong

" - }, #endif }; -- cgit v1.2.3