• vscode中打开typora


    VSCode中编辑markdown没有typora来的舒服,但是VSCode中的文件又不能直接使用typora打开,必须先进入文件路径,比较麻烦。
    然后VSCode插件市场搜了一下,发现确实有这么一个插件:
    在这里插入图片描述
    只是没有用,似乎在开发阶段

    使用Open in External App

    而另外一个五星好评的插件Open in External App则可以在vscode中用typora打开md文件,不仅如此,还有设定其他应用打开相应的文件,比如chrome打开html。插件食用方法也比较简单,安装后,在settings.json中将以下内容添加进去,注意在windows要更改 "openCommand"命令对应的程序路径:

    "openInExternalApp.openMapper": [
        {
            // represent file extension name
            "extensionName": "html",
            // the external applications to open the file which extension name is html
            "apps": [
                // openCommand can be shell command or the complete executable application path
                // title will be shown in the drop list if there are several apps
                {
                    "title": "chrome",
                    "openCommand": "/Applications/Google Chrome.app"
                },
               
            ]
        },
        {
            "extensionName": "md",
            "apps": [
                {
                    "title": "typora",
                    "openCommand":"/Applications/Typora.app"
                }
            ]
            
        },
        
    ]
    

    添加好之后,双击md文件即可看到Open in External App选项,点击即可跳转到typora。
    在这里插入图片描述

  • 相关阅读:
    Xcode ARC,非ARC混搭
    Xcode GData库解析XML
    NSThread
    自定义UITableViewCell中的button实现视图切换
    UITableView
    iOS事件响应链
    结构体和NSData相互转换
    UIView的transform属性
    javascript垃圾回收机制
    ios8 滚动事件解放了
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13281649.html
Copyright © 2020-2023  润新知