import {type JSX} from "preact"; import {Link} from "../../utilities/exports.js"; import {Setting, type SettingProps} from "./index.js"; export function MarkdownToolbarSetting(props: SettingProps): JSX.Element { return (

Adds a toolbar with a selection of Markdown snippets that when used will insert the according Markdown where your cursor is. Particularly useful for the{" "} /spoilerbox syntax. If you have text selected, the Markdown will be inserted around your text.
You can edit the available snippets and their position in the toolbar using the{" "} Markdown Toolbar Editor .

); }