Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View markdown files offline [closed]

Is there a way to display .md files offline so we know what it will look like once it's uploaded in Github? I'm referring to showing the README.md file as it would come out in Github, and not as for editing purposes.

Needs to work on Mac and Windows since I use both.

like image 932
enchance Avatar asked Mar 23 '12 17:03

enchance


People also ask

How do I view Markdown files locally?

In order to process local files, you have to enable Allow Access to File URLs in Chrome extension management page like you would with Markdown Preview Plus. For remote files, you must add its origin (domain) into the whitelist, using Markdown Viewer settings page.

How do I view rendered Markdown?

Show the rendered HTML markdown to the right of the current editor using ctrl-shift-m. It is currently enabled for . markdown , . md , .

How do I view Markdown files in Windows?

Open and Convert Markdown Documentation Files Since these MD files are just plain text documents, you can open one with any text editor, like Notepad or WordPad in Windows.

How do I open a Markdown file?

You can open and edit an MD file in any text editor, including: Microsoft Notepad (Windows) Apple TextEdit (Mac) Vim (Linux, Mac)


1 Answers

There are a few Chrome plug-ins that work well. I've been using Markdown Preview Plus.

After install, enable "Allow access to file URLs" in Extensions (menu > More tools > Extensions or enter URL chrome://extensions/ instead).

enter image description here

Then drag-n-drop a Markdown file onto Chrome and use your favorite editor to edit.

like image 94
Jim Bergman Avatar answered Sep 22 '22 05:09

Jim Bergman