GitHub Code Citation
Overview
Copy selected GitHub lines as a stable, commit-pinned Markdown citation.
GitHub Code Citation turns a line or line range selected on a GitHub file page into one descriptive Markdown link pinned to the exact commit currently displayed. Use it when writing code reviews, issues, documentation, technical notes, incident reports, or research that must keep pointing to the same code after a branch changes. How it works: 1. Open a file on GitHub. 2. Click a line number, or Shift-click another line number to select a range. 3. Click Copy stable citation. 4. Paste the ready-to-use Markdown link wherever you need it. The output includes the repository, file path, selected lines, and a URL containing the exact 40-character commit identifier. If the exact commit cannot be proven from the current page, the extension does not offer a mutable fallback. Privacy and scope: - Runs only on GitHub file-view URLs. - No GitHub API, account token, analytics, storage, advertising, or remote service. - Repository, path, commit, and selected-line metadata are processed locally in the current tab. - The citation is written to the clipboard only after an explicit click. GitHub Code Citation does one narrow job: make stable code references fast and unambiguous.
0 out of 5No ratings
Details
- Version0.1.0
- UpdatedAugust 18, 2026
- Offered byextenup
- Size19.04KiB
- LanguagesEnglish
- Developer
Email
extenup13@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
GitHub Code Citation has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.
GitHub Code Citation handles the following:
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site