diff options
author | 2021-03-21 15:13:38 -0700 | |
---|---|---|
committer | 2021-03-21 15:13:38 -0700 | |
commit | 558ef18b58d8f0fd2894eb02fce07c062aab81d3 (patch) | |
tree | 98f8170cfb135fe10fae96af49b3c1943cc42335 /src/transform2.ts | |
parent | 417657f138fbc5e194df3dd511e3b9c8e53920fd (diff) | |
download | astro-558ef18b58d8f0fd2894eb02fce07c062aab81d3.tar.gz astro-558ef18b58d8f0fd2894eb02fce07c062aab81d3.tar.zst astro-558ef18b58d8f0fd2894eb02fce07c062aab81d3.zip |
get test runner running
Diffstat (limited to 'src/transform2.ts')
-rw-r--r-- | src/transform2.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transform2.ts b/src/transform2.ts index 4cca58510..fcbb6e14f 100644 --- a/src/transform2.ts +++ b/src/transform2.ts @@ -52,13 +52,12 @@ async function convertMdToJsx( { compileOptions, filename, fileID }: { compileOptions: CompileOptions; filename: string; fileID: string } ): Promise<TransformResult> { const { data: _frontmatterData, content } = matter(contents); - const {headers, headersExtension} = createMarkdownHeadersCollector(); + const { headers, headersExtension } = createMarkdownHeadersCollector(); const mdHtml = micromark(content, { extensions: [gfmSyntax()], htmlExtensions: [gfmHtml, headersExtension], }); - console.log("headers", headers); const setupContext = { ..._frontmatterData, content: { |