Implemented markdown preview

This commit is contained in:
Sun Knudsen 2022-03-14 08:53:50 -04:00
parent d5ab483e9d
commit e4972b54d0
No known key found for this signature in database
GPG key ID: 02C43AD072D57783
9 changed files with 957 additions and 183 deletions

40
.vscode/tasks.json vendored
View file

@ -3,8 +3,35 @@
"tasks": [
{
"type": "shell",
"label": "Copy link",
"command": "node ./tasks/copy-link.js \"${selectedText}\"",
"label": "Organize steps",
"command": "node ./tasks/organize-steps.js \"${file}\"",
"presentation": {
"reveal": "silent"
},
"problemMatcher": []
},
{
"type": "shell",
"label": "Preview markdown",
"command": "node ./tasks/preview-markdown.js \"${relativeFile}\"",
"presentation": {
"reveal": "silent"
},
"problemMatcher": []
},
{
"type": "shell",
"label": "Preview markdown (using reverse proxy)",
"command": "node ./tasks/preview-markdown.js \"${relativeFile}\" use-proxy",
"presentation": {
"reveal": "silent"
},
"problemMatcher": []
},
{
"type": "shell",
"label": "Proxify link",
"command": "node ./tasks/proxify-link.js \"${selectedText}\"",
"presentation": {
"reveal": "silent"
},
@ -27,15 +54,6 @@
"reveal": "always"
},
"problemMatcher": []
},
{
"type": "shell",
"label": "Organize steps",
"command": "node ./tasks/organize-steps.js \"${file}\"",
"presentation": {
"reveal": "silent"
},
"problemMatcher": []
}
],
"inputs": [