question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not rendering local .md file despite allowing file:///* URLs and local file URLs

See original GitHub issue

Hi, thanks for creating this extension!

For some reason this isn’t rendering markdown for me.

image

I’ve allowed both file:///* URLs and access to local file URLs as you can see in the screenshot below.

The file URL is file:///C:/Users/Aron/Google%20Drive/today-scratchpad.md

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
somahargitaicommented, Feb 28, 2021

I had a similar problem with my README.MD file.

My solution was that in advanced origins I edited the local file match. The default version allows these: \.(?:markdown|mdown|mkdn|md|mkd|mdwn|mdtxt|mdtext|text)(?:#.*|\?.*)?$ But it does not contain MD extensions written with capitals. So I highly recommend you to add it to this list: \.(?:markdown|mdown|mkdn|md|MD|mkd|mdwn|mdtxt|mdtext|text)(?:#.*|\?.*)?$

Maybe it will help others too.

1reaction
Arrow7000commented, Mar 1, 2021

@somahargitai I’m glad you were able to solve your problem but my file has a lowercase .md extension and still doesn’t work. 🤷

Read more comments on GitHub >

github_iconTop Results From Across the Web

How link to any local file with markdown syntax?
I have a local markdown file containing several links ...
Read more >
Markdown links to .md file open the source instead of ... - GitLab
Summary. When inserting a link to a .md file, for example link, clicking on it will open the source code, instead of opening...
Read more >
Issues · simov/markdown-viewer - GitHub
Not rendering local .md file despite allowing file:///* URLs and local file URLs origins. #131 opened on Nov 24, 2020 by Arrow7000.
Read more >
Relative urls in readme.md files only work half the time ... - Jira
I've confirmed that the problem with relative links only works if the readme is rendered at a specific commit. If it is rendered...
Read more >
Restrictions on File Urls - text/plain
No option to disable this navigation blocking is available in ... Similarly, the Enable Local File Links extension simply adds a click event ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found