From dbaccb4b9d71c0cf01e0e18a990582c91612fd6a Mon Sep 17 00:00:00 2001 From: ManUtopiK Date: Fri, 17 Nov 2023 00:31:41 +0100 Subject: [PATCH 1/4] Parse and compile with componentCodeBlockProps --- playground/pages/index.vue | 11 +- src/frontmatter.ts | 32 +- src/index.ts | 23 +- src/to-markdown.ts | 5 +- src/types.d.ts | 1 + .../block-component.test.ts.snap | 306 ++++++++++++++++++ test/block-component.test.ts | 67 ++++ 7 files changed, 430 insertions(+), 15 deletions(-) diff --git a/playground/pages/index.vue b/playground/pages/index.vue index 79d8c41c..413acf6f 100644 --- a/playground/pages/index.vue +++ b/playground/pages/index.vue @@ -1,7 +1,11 @@