You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I just followed examples. but not successful display markdown.
Could you help how can i do something?
<script>
import {onDestroy,onMount} from "svelte";
import {Carta,MarkdownEditor,Markdown} from 'carta-md';
import {attachment} from '@cartamd/plugin-attachment';
import {emoji} from '@cartamd/plugin-emoji';
import {slash} from '@cartamd/plugin-slash';
import {code} from '@cartamd/plugin-code';
import 'carta-md/default.css';
import '$lib/styles/github.scss';
const carta = new Carta({sanitizer: false,extensions: [attachment({asyncupload(){return'some-url-from-server.xyz';}}),emoji(),slash(),code()]});
export let value = `This is an example inspired by [GitHub](https://github.com)
\`\`\`js
console.log('Hello, World!');
\`\`\``;
</script><MarkdownEditor bind:valuemode="tabs"theme="github"{carta}/><style>
:global(.shiki),
:global(.shiki span) {color: var(--shiki-dark)!important;}
:global(button) {background: transparent;border: 0;}</style>
The text was updated successfully, but these errors were encountered:
Hello, I just followed examples. but not successful display markdown.
Could you help how can i do something?
The text was updated successfully, but these errors were encountered: