Moved some low couple functions to util.ts;
Refactored core functions for convenience;
(Sorry for my OCD ≡[。。]≡)
Now it works normally.
And I use let success = vscode.commands.executeCommand("markdown.showPreviewToSide", uri); to open markdown file, maybe we can give a config to let user choose preview mode.
Moved some low couple functions to util.ts; Refactored core functions for convenience; (Sorry for my OCD ≡[。。]≡)
Now it works normally. And I use
let success = vscode.commands.executeCommand("markdown.showPreviewToSide", uri);
to open markdown file, maybe we can give a config to let user choose preview mode.