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:
# gRPC – An RPC library and framework
gRPC is a modern, open source, high-performance remote procedure call (RPC)
framework that can run anywhere. gRPC enables client and server applications to
communicate transparently, and simplifies the building of connected systems.
<table>
<tr>
<td><b>Homepage:</b></td>
<td><a href="https://grpc.io/">grpc.io</a></td>
</tr>
<tr>
<td><b>Mailing List:</b></td>
<td><a href="https://groups.google.com/forum/#!forum/grpc-io">[email protected] </a></td>
</tr>
</table>
[](https://gitter.im/grpc/grpc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## To start using gRPC
This file has been truncated. show original
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
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)
1 Like
system
Closed
September 1, 2022, 1:16pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.