Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render markdown images present in github repos or OSF storage #366

Open
mdingemanse opened this issue Jan 19, 2022 · 0 comments
Open

Render markdown images present in github repos or OSF storage #366

mdingemanse opened this issue Jan 19, 2022 · 0 comments

Comments

@mdingemanse
Copy link

Markdown rendering is fairly rudimentary and currently excludes images. I was hoping to see functionality like github's, where markdown files are rendered in full if they include relative references to images present in the repository. Presumably github does some work to make relative links like [](out/map-1.png) show up in the in-browser rendering of the .md? It even works in their readme.md, which makes for nice repo landing pages.

For security reasons, it would make sense of course to limit rendered image links to images available in the project storage or in the linked storage (e.g. github repo).

Having this functionality would make OSF perfect for sharing view-only links to reproducible work. These view-only links are indispensable for blind submissions, which are still common in many disciplines. Currently, such view-only links force reviewers to download .md or .html files before they can see the material.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant