• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

dbankier/vscode-instant-markdown: vscode extension for instant markdown previews

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

dbankier/vscode-instant-markdown

开源软件地址(OpenSource Url):

https://github.com/dbankier/vscode-instant-markdown

开源编程语言(OpenSource Language):

TypeScript 74.4%

开源软件介绍(OpenSource Introduction):

vscode-instant-markdown

Simply, edit markdown documents in vscode and instantly preview it in your browser.

screencast

Note Version 1.0 is a complete rewrite and no longer works using instant-markdown-d.

This extension is build on markdown-it and uses the following extensions:

  • markdown-it-mathjax
  • markdown-it-named-headers
  • markdown-it-plantuml
  • markdown-it-sup
  • markdown-it-task-lists

Installation

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension. Select the Instant Markdown extension from the list

Install Manual

Mac & Linux

cd $HOME/.vscode/extensions
git clone https://github.com/dbankier/vscode-instant-markdown.git
cd vscode-instant-markdown
npm install

Windows

cd %USERPROFILE%\.vscode\extensions
git clone https://github.com/dbankier/vscode-instant-markdown.git
cd vscode-instant-markdown
npm install

Usage

When you edit a markdown document it should instantly preview in your browser with changes applied as you type.

You browser should automatically open to http://localhost:8090

Configuration

You can turn off the automatic opening of the browser. Just change the default configuration of instantmarkdown.autoOpenBrowser from true to false.

You can then use > Instant Markdown: Open Browser to open the broswer or create a shortcut for the following command instantmarkdown.openBrowser.

You can turn off the automatic closing of the browser. Just change the default configuration of instantmarkdown.autoCloseServerAndBrowser from true to false.

You can also change the host and port that the server runs on by changing their respective default settings.

Finally you can increase the debounce value from 0 milliseconds to make the plugin less instant.

License

MIT © David Bankier @dbankier @davidbankier




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap