mirror of
https://github.com/nathonius/obsidian-github-link.git
synced 2026-07-22 09:20:25 +00:00
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
# GitHub Link
|
|
|
|
[](https://github.com/nathonius/obsidian-github-link/wiki)
|
|
[](https://sonarcloud.io/summary/new_code?id=nathonius_obsidian-github-link)
|
|
|
|
**Obsidian + GitHub ❤️**
|
|
|
|
Transform boring GitHub links in notes into tags with rich content from GitHub, and query issues and pull requests within your notes.
|
|
|
|
## Use
|
|
|
|
### Links
|
|
|
|
Github links are automatically transformed into tags. For example, pasting `https://github.com/nathonius/obsidian-github-link/issues/1` into a note will become:
|
|
|
|

|
|
|
|
### Table
|
|
|
|
You can also include a table with results from a search query using a `github-query` codeblock. For example:
|
|
|
|
````
|
|
```github-query
|
|
outputType: table
|
|
queryType: pull-request
|
|
query: "is:pr repo:nathonius/obsidian-github-link"
|
|
columns: [number, title, author, status]
|
|
```
|
|
````
|
|
|
|
This produces a table of results that refreshes upon opening the note.
|
|
|
|

|
|
|
|
See the [documentation](https://github.com/nathonius/obsidian-github-link/wiki) for more info.
|