是否有一种方法可以离线显示。md文件,这样我们就可以知道它上传到Github后会是什么样子?我指的是显示README。md文件,因为它将出现在Github,而不是作为编辑的目的。
需要在Mac和Windows上工作,因为我都用。
是否有一种方法可以离线显示。md文件,这样我们就可以知道它上传到Github后会是什么样子?我指的是显示README。md文件,因为它将出现在Github,而不是作为编辑的目的。
需要在Mac和Windows上工作,因为我都用。
当前回答
在MacOSX上运行良好的最简单的资源之一是InkMark上的Markdown Quick Look插件。在OS X 10.9+上安装后,你只需在Finder中选择一个降价文件,然后点击空格键。我不确定结果是否与Github 100%相关,但他们是相当不错的,使一个微小的不显眼的离线查看者唯一的解决方案。Mashable也写了一篇关于78种不同工具的文章,如果你想要其他选择。
其他回答
我发现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,保存并运行
看到Python-Markdown-Editor
它是基于:
Python-Markdown pyptions(代码块语法高亮显示) codeirror (javascript代码编辑器) 瓶
使用pip安装:
$ pip install markdown-editor
它的特点是当你键入预览,代码突出显示,隔离代码块,github风格
它可以通过命令行使用:
$ markdown_edit
$ markdown_edit README.md
$ markdown_edit -f readme.html README.md
我创建这个是为了构建一个用于发送代码审查的工具,它很容易扩展,通过将其作为模块导入,您可以添加自定义操作。
RStudio可以处理标记文件并将其转换为html和pdf。如果您已经拥有它,您可以使用RStudio(它是R编程语言的IDE)。它是免费的开源软件,适用于Windows、Mac和Linux系统。
我喜欢Downmarker中的垂直分割器,你可以在写作时看到变化!
您可以使用Scribefire Next。
它是一个Mozilla Firefox浏览器插件。只需安装扩展并启动Firefox。自定义工具栏并将Scribefire快捷方式放置其中。由于它是一个浏览器插件,你可以在Mac、Linux和Windows上使用它。
当您想在Markdown模式下编写时,只需从Scribefire窗口单击“编辑代码”。
现在,为了达到你的目的,转到编辑代码模式,复制所有文本,并粘贴到你的.md文件并上传。
没有实时预览功能,你必须切换编辑代码和视觉编辑来预览你的文本。
我正在我的Linux Mint盒子里使用它:
更新:
现在是2014年,需要为其他读者和研究人员添加一些其他很棒的工具。刚刚使用的括号+ Markdown预览扩展。