diff --git a/code/changes/780.breaking.md b/code/changes/780.breaking.md new file mode 100644 index 00000000..b41941d8 --- /dev/null +++ b/code/changes/780.breaking.md @@ -0,0 +1 @@ +The `Open Preview to the Side` and `Open Preview` commands have been renamed to `Preview Documentation in Split Window` and `Preview Documentation` respectively. diff --git a/code/changes/780.enhancement.md b/code/changes/780.enhancement.md new file mode 100644 index 00000000..0f556db6 --- /dev/null +++ b/code/changes/780.enhancement.md @@ -0,0 +1 @@ +Esbonio now adds an icon to the editor toolbar that opens the preview in markdown files. diff --git a/code/package.json b/code/package.json index 7a1557da..0061d1a2 100644 --- a/code/package.json +++ b/code/package.json @@ -64,14 +64,14 @@ "commands": [ { "command": "esbonio.preview.open", - "title": "Open Preview", - "icon": "$(preview)", + "title": "Preview Documentation", + "icon": "$(open-preview)", "category": "Esbonio" }, { "command": "esbonio.preview.openSide", - "title": "Open Preview to the Side", - "icon": "$(open-preview)", + "title": "Preview Documentation in Split Window", + "icon": "$(book)", "category": "Esbonio" }, { @@ -418,7 +418,7 @@ "command": "esbonio.preview.openSide", "alt": "esbonio.preview.open", "group": "navigation", - "when": "resourceLangId == restructuredtext" + "when": "resourceLangId == restructuredtext || resourceLangId == markdown" } ] },