Skip to content

Commit

Permalink
Add 'Preferences: MarkdownPreview Settings' to Command Palette (#184)
Browse files Browse the repository at this point in the history
* Add 'Preferences: MarkdownPreview Settings' to command palette

* Fix dangling comma
  • Loading branch information
deathaxe authored Sep 24, 2024
1 parent 9da6a20 commit 7356066
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 8 additions & 1 deletion Default.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@
"target": "clipboard"
}
},

{
"caption": "Markdown Preview: Open Markdown Cheat sheet",
"command": "markdown_cheatsheet",
"args": {}
},
{
"caption": "Preferences: MarkdownPreview Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/MarkdownPreview/MarkdownPreview.sublime-settings",
"default": "{\n$0\n}\n"
}
}
]
9 changes: 4 additions & 5 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[
{
"caption": "Preferences",
"mnemonic": "n",
"id": "preferences",
"children":
[
Expand All @@ -16,11 +14,12 @@
"children":
[
{
"command": "edit_settings", "args": {
"caption": "Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/MarkdownPreview/MarkdownPreview.sublime-settings",
"default": "{\n$0\n}\n"
},
"caption": "Settings"
}
},
{ "caption": "-" }
]
Expand Down

0 comments on commit 7356066

Please sign in to comment.