Is there a way to embed external markdown in Obsidian

Hey, all !

What I’m trying to do

I’m trying to embed a README.md from github to my obsidian vault.

For example I have this README file:

or
https://raw.githubusercontent.com/grpc/grpc/master/README.md

And I would like to see its content (as it is markdown) inside my obsidian notes.
And I would like to load it whenever I go to the note something like an iframe.

Is there any way to accomplish this?

Download your markdown, and include the file with this command

![[path/to/file.md]]

@petruknisme Well, that’s one way of doing it, but I would prefer to not have to download and replace the markdown file each time README changes in the repository.

Looking for a more “synced” solution between GitHub and obsidian

Hey guys. Solved it :wink:

I am using dataview js

Code example:

const url = "https://raw.githubusercontent.com/grpc/grpc/master/README.md"

const response = await fetch(url)
const data = await response.text()

let pg = dv.current();

dv.paragraph(data)

I think you can use community embed plugin that support gist or github. Like this one GitHub - samwarnick/obsidian-simple-embeds: A plugin for Obsidian that automatically turns links into embeds.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.