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

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


当前回答

非凡,当然是一个伟大的工具。

注意:不适用于Mac

特点:

实时预览 这是免费的。 非常轻量级的 导出为HTML, PDF

下载:https://remarkableapp.github.io/。

编辑2022

我现在使用并喜欢Mark Text。(https://marktext.app)

其他回答

我发现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,保存并运行

来晚了,但看看MarkdownPad。

您可以使用文本作为md查看器和md编辑器,它的轻量级和整洁。

我找到了一种在PHP中查看它的方法。在做了更多的窥探之后,我发现了离线和在线查看.md文件的2个解决方案:

离线:https://github.com/WolfieZero/Markdown-Viewer-PHP 网站:http://daringfireball.net/projects/markdown/dingus

我推荐离线版本,这样即使你在王位上处理你的事务,你也可以进行编辑。:)

你试过重新发短信吗?这是一个很好的桌面Markdown编辑器