View as Markdown

API reference: @salmonui/editors/markdown-editor

linkMarkdownconst

import { linkMarkdown } from '@salmonui/editors/markdown-editor';
const linkMarkdown: (text: string, url: string) => string;

[text](url); an empty text uses the URL.