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.
header
1 parent 3c70c74 commit 0dbbb96Copy full SHA for 0dbbb96
src/commands/header.tsx
@@ -31,10 +31,10 @@ export const header: ICommand = {
31
changes: {
32
from: lineInfo.from,
33
to: lineInfo.to,
34
- insert: `${mark}${title}`,
+ insert: `${mark} ${title}`,
35
},
36
// selection: EditorSelection.range(lineInfo.from + mark.length, lineInfo.to),
37
- selection: { anchor: lineInfo.from + mark.length },
+ selection: { anchor: lineInfo.from + mark.length + 1 },
38
});
39
40
};
0 commit comments