We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b00492 commit 27cfcdaCopy full SHA for 27cfcda
src/markup/commands/inline.ts
@@ -13,7 +13,9 @@ export const insertLink: StateCommand = ({state, dispatch}) => {
13
return true;
14
};
15
16
+// [major] TODO: remove insertAnchor
17
const defaultAnchorSnippet = snippet(`#[#{2:text}](#{1:anchor} "#{3:title}")`);
18
+/** @deprecated */
19
export const insertAnchor: StateCommand = ({state, dispatch}) => {
20
const {from, to, empty} = state.selection.main;
21
const anchorSnippet = empty
0 commit comments