How to preview html file in our browser at sublime text?

sublime preview html.md

open In Browser

what should we do if we want to preview html file in our browser?
We can install a plugin called "Open In Browser".
1.first,we open the package install by "command+shift+p".
sure,you can also use navgation,it is

Sublime Text -> Preferences -> Package Ctrol

2.then we choose the package install option to input our plugin's name.
Sure it's "Open In browser".
3..Next,we should open the key Bindings by the navigation

Sublime Text ->Preferences ->key Bindings -> choose right user -> add ourself configure about keyborad.

1179506-20180418155831976-1417009681.png
1179506-20180418155746944-1686704650.png
1179506-20180418155302512-582588949.png
1179506-20180418155334251-1040195713.png
1179506-20180418155417974-363106240.png

[
    {
     "keys":"[]","command":"open_in_browser"
     }
]

Notice: You must set keyborad by lower-case.If you set fail,you can check your spelling.
example my configure:

[
    {
        "keys":"[ctrl+o]","command":"open_in_browser"
    }
]

When I enter ctrl + o,the html file open auto in my browser.
It's cool !

转载于:https://www.cnblogs.com/InnerPeace-Hecdi/p/8872691.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值