From d6e75145e54854484f2114398ff89787d243608a Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 5 Feb 2026 10:50:12 +0100 Subject: feat(markdown): interprate callout --- markdown/ast_callout_test.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 markdown/ast_callout_test.go (limited to 'markdown/ast_callout_test.go') diff --git a/markdown/ast_callout_test.go b/markdown/ast_callout_test.go new file mode 100644 index 0000000..75140d4 --- /dev/null +++ b/markdown/ast_callout_test.go @@ -0,0 +1,16 @@ +package markdown + +import "testing" + +func TestCallout(t *testing.T) { + t.Run("callout", func(t *testing.T) { + t.Run("simple", test(` +> [!NOTE] +`, `

note

`)) + t.Run("multiline", test(` +> [!NOTE] Hey :3 +> content 1 +> content 2 +`, `

Hey :3

content 1

content 2

`)) + }) +} -- cgit v1.2.3