File Access Setup
To open local Markdown files by double-clicking them, you need to enable file access for the extension.
Why is This Needed?
By default, Chrome extensions cannot access local files (file:// URLs) for security reasons. You need to explicitly grant this permission.
Enable File Access in Chrome
Step 1: Open Extensions Page
Navigate to chrome://extensions/ in your browser, or:
- Click the three-dot menu (⋮) in Chrome
- Go to More tools → Extensions
Step 2: Find Markdown Viewer
Scroll through your extensions or use the search box to find Markdown Viewer.
Step 3: Open Extension Details
Click “Details” on the Markdown Viewer card.
Step 4: Enable File Access
Find the option “Allow access to file URLs” and toggle it ON.

✅ Done! You can now double-click .md files to open them in Chrome.
Enable File Access in Firefox
- Go to
about:addons - Find Markdown Viewer
- Click the extension
- Under Permissions, enable access to file URLs
Setting Chrome as Default for .md Files
Windows
- Right-click any
.mdfile - Select “Open with” → “Choose another app”
- Select Google Chrome
- Check “Always use this app to open .md files”
- Click OK
macOS
- Right-click any
.mdfile - Select “Get Info”
- Under “Open with”, select Google Chrome
- Click “Change All…“ to apply to all
.mdfiles
Linux
Depends on your desktop environment. Generally:
- Right-click the
.mdfile - Select “Properties” or “Open With”
- Choose Chrome/Chromium as the default application
Troubleshooting
Files Still Don’t Open?
- Verify the extension is enabled — Check
chrome://extensions/ - Confirm file access is on — The toggle should be blue/enabled
- Restart Chrome — Close all Chrome windows and reopen
- Check file association — Make sure
.mdopens with Chrome
Security Considerations
Enabling file access means the extension can read local Markdown files. This is safe because:
- ✅ Markdown Viewer only processes Markdown content
- ✅ No data is sent to any server
- ✅ All processing happens locally
- ✅ The extension is open source and auditable
Alternative: Without File Access
If you prefer not to enable file access, you can still use Markdown Viewer:
Drag and Drop
- Open Chrome
- Drag your
.mdfile into the browser window - The file will be rendered
Use the Open Dialog
- Press
Ctrl/Cmd + Oin Chrome - Navigate to your file
- Select and open it
Online Files Only
View Markdown files on:
- GitHub
- GitLab
- Any website serving
.mdfiles
Next Steps
Now that file access is set up:
- Start using Markdown Viewer
- Explore the features