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

add: Plugin for referencing external Github files #4394

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

jessiemongeon1
Copy link
Collaborator

@jessiemongeon1 jessiemongeon1 commented Jan 30, 2025

This plugin allows us to embed external Github files as code blocks.

Usage:

```<language-name> reference
<github-link>#<optional-line-numbers>
```

Example:

```rs reference
https://github.com/octopus-network/ord-canister/blob/a0632ebd1493d604ad3e82185f75170755552ac3/src/canister.rs#L8
```

@jessiemongeon1 jessiemongeon1 requested a review from a team as a code owner January 30, 2025 16:41
@jessiemongeon1 jessiemongeon1 merged commit 89519c5 into master Jan 30, 2025
6 checks passed
@jessiemongeon1 jessiemongeon1 deleted the github-link-plugin branch January 30, 2025 21:50
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

Successfully merging this pull request may close these issues.

2 participants