How to use <script context="module"> and frontmatter at the same time? #440
Unanswered
winston0410
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a markdown file like this, using
<script context="module">
for returning stuff to__layout.svelte
for setting all metadataWhen I use layout with frontmatter, I will get error like this:
I will get an error like this:
Obviously the tag was injected by the layout of mdsvex. Is it possible to disable that or choose to inject with
<script>
instead in that layout?Beta Was this translation helpful? Give feedback.
All reactions