From 15ce694967e3dcc34ef00c65014fa5af02331bf1 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 16 Jul 2025 11:17:40 +0800 Subject: [PATCH] Add test file --- .../test/fixture/test-inherited-config.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tool/rawstr4c/test/fixture/test-inherited-config.md diff --git a/tool/rawstr4c/test/fixture/test-inherited-config.md b/tool/rawstr4c/test/fixture/test-inherited-config.md new file mode 100644 index 0000000..91db146 --- /dev/null +++ b/tool/rawstr4c/test/fixture/test-inherited-config.md @@ -0,0 +1,28 @@ +- prefix = `ROOT` +- keep-prefix = `true` + +```c +root code; +``` + +# Level 1 + +- prefix = `L1` + +```c +level1 code; +``` + +## Level 2 + +```c +level2 code; +``` + +### Level 3 + +- prefix = `L3` + +```c +level3 code; +```