是否有一种方法可以离线显示。md文件,这样我们就可以知道它上传到Github后会是什么样子?我指的是显示README。md文件,因为它将出现在Github,而不是作为编辑的目的。

需要在Mac和Windows上工作,因为我都用。


当前回答

从现在开始我使用http://marxi.co/。Marxi。Co有线上和线下版本。

其他回答

我发现MarkView谷歌Chrome扩展非常有用,实际上它的工作就像一个魅力:

MarkView is a Chrome extention for editing and viewing markdown file with an outline view, support multiple table format styles, code block syntax highlight and Github Flavored Markdown. Features: Editing and Viewing markdown file in web page style. Auto reload local file when file is changed (Post-installation: select "Allow access to file URLs" option in chrome://extensions/) Show outline beside the content in scrollable way Have buttons for GoTop, ViewSource and GoBottom Support Github Flavored Markdown table styles and code highlight. Highlight the code area for programming languages(eg. ```ruby) Support web pages printing with decent outlook(Chrome->File->Print...) Responsive: when the window size small than 940px, outline section will automatically hidden; resize bigger than 940px, outline section will display. MarkView will view all markdown files except those under raw.github.com because that subdomain only displays the source.

更多的功能已添加到MarkView:

所见即所得markdown编辑器 主题和代码样式选择 支持脚注1系 即时幻灯片演示 文档自定义样式 添加主题CSS并选择 添加代码样式并选择 编写CSS,保存并运行

有几个Chrome插件运行得很好。我一直在使用Markdown预览Plus。

安装后,在扩展(菜单> More tools > Extensions或输入URL chrome:// Extensions /)中启用“允许访问文件URL”。

然后拖放Markdown文件到Chrome浏览器上,使用您最喜欢的编辑器进行编辑。

RStudio可以处理标记文件并将其转换为html和pdf。如果您已经拥有它,您可以使用RStudio(它是R编程语言的IDE)。它是免费的开源软件,适用于Windows、Mac和Linux系统。

如果你是一个vim用户,你可以试试vim-preview插件。只需将其安装到您的~/。Vim目录与您选择的方法。然后,您可以使用vim打开Markdown文件,并使用命令:Preview,这将在浏览器中打开一个新窗口并显示最终结果。

Geany有一个markdown插件,它做了一个公平的工作,让你也markdown预览在侧边栏。它还可以在Linux、Mac OS X和Windows上运行。

要使用它,先安装geany,然后安装geany-plugin-markdown包,然后从插件管理器中选择它。