Browse Source

Add Markdown icon for Show Markdown Preview

krassowski 4 years ago
parent
commit
7097b1bc8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fileeditor-extension/src/commands.ts

+ 1 - 0
packages/fileeditor-extension/src/commands.ts

@@ -591,6 +591,7 @@ export namespace Commands {
           (widget && PathExt.extname(widget.context.path) === '.md') || false
         );
       },
+      icon: markdownIcon,
       label: trans.__('Show Markdown Preview')
     });
   }