Closed yozawiratama closed 1 year ago
I already found it, we can't render it from string like that, but we can use textarea to test it, this is example code
<script>
import SvelteMarkdown from 'svelte-markdown'
// import {marked} from 'marked'
var md = '**hello world**';
</script>
<textarea bind:value={md}></textarea>
<SvelteMarkdown source={md}
/>
I trying to render
code
like thisbut when I check in console, it still recognized as codespan
how to render it as code?