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.
2 parents 52053e5 + 27cfcda commit b320856Copy full SHA for b320856
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