Markdown language has become the preferred format for many developers to document their work. The lightweight and easy-to-read syntax of Markdown is perfect for describing complex coding and programming concepts. However, viewing Markdown files offline is not very user-friendly. If you’ve ever had trouble opening .md files, you’re not alone. In this post, we’ll show you how to open .md files on popular web browsers such as Firefox and Chrome.
Firstly, it’s important to note that the readme file of each repository and directory contains the description of all the things that we want to be done either in a workshop or in instructions like setting up your computer. However, when you clone the repository and try to open it, you might not be able to view it properly offline.
To view .md files properly offline, you need to install an extension on your web browser. In this post, we’ll focus on Firefox and Chrome.
Step 1: Installing Markdown Viewer Extension for Firefox
– Go to the Firefox add-on store and search for “Markdown Viewer Extension for Firefox”.
– Click on “Add to Firefox” and allow the extension to run in private windows.
– Go to the extensions settings in Firefox and activate all the content options.
– Close the browser.
Step 2: Opening .md Files Using Firefox
– Right-click on the .md file and choose “Open with” -> “Choose another app”.
– Select Firefox and click “Always open with this”.
– Hit “Enter” and the file will load properly.
Step 3: Installing Markdown Viewer Extension for Chrome
– Go to the Chrome Web Store and search for “Markdown Viewer Extension for Chrome”.
– Click on “Add to Chrome” and wait for the installation to complete.
Step 4: Opening .md Files Using Chrome
– Right-click on the .md file and choose “Open with” -> “Choose another app”.
– If Chrome is not listed, select “More apps” and then “Look for another app on this PC”.
– Navigate to “Program Files (x86)” -> “Google” -> “Chrome” -> “Application” -> “chrome.exe”, and click “Open”.
– The file will not load properly, but once you have the Markdown Viewer Extension for Chrome installed, it will work the same way as it did for Firefox.
In conclusion, Markdown is a great way to document your work, but viewing it offline can be a challenge. By following these simple steps, you’ll be able to open .md files on both Firefox and Chrome. This way, you’ll be able to access important information even when you’re not connected to the internet.