Skip to content

Add ability to view and link to Markdown source #946

Closed

Description

@sindresorhus

Issuehunt badges

There's no way to view the source of Markdown files inside the GitHub UI. All you can do is click "Raw" to view the raw file.

A trick I discovered is to click "Blame". Then you can view the source of Markdown and even link to specific lines.

Would be nice to add a "Source" button when viewing a rendered Markdown file, which would go to the blame view, but add a query param that instructs Refined GitHub to tweak the UI, like removing the blame components, so it's a clean source view.


For anyone that wants this, please also send this feature request to GitHub: [email protected]

bfred-it earned $60.00 by resolving this issue!

Activity

  1. fregante commented on Jan 4, 2018

    @fregante
    Member
  2. fregante commented on Jan 4, 2018

    @fregante
    Member

    Usable userstyle (click the import button) for blame urls ending with ?blame=hide:

    @-moz-document regexp("https:\\/\\/github.com\\/.*\\/.*\\/blame\\/.*\\?blame=hide") {
    	.blame-commit,
    	.blob-reblame {
    		display: none
    	}
    	.blame-hunk {
    		border-bottom: 0 !important
    	}
    }

    This is how it should look, probably: https://github.com/facebook/react/blob/master/fixtures/dom/public/react-logo.svg?short_path=9fdd5ed

    Screenshot 2019-03-22 at 16 12 19

  3. added
    Please! ♥︎
    on Mar 5, 2018
  4. IssueHuntBot commented on Mar 21, 2019

    @IssueHuntBot

    @IssueHunt has funded $60.00 to this issue.


  5. self-assigned this
    on Mar 22, 2019
  6. IssueHuntBot commented on Mar 27, 2019

    @IssueHuntBot

    @sindresorhus has rewarded $54.00 to @bfred-it. See it on IssueHunt

    • 💰 Total deposit: $60.00
    • 🎉 Repository reward(0%): $0.00
    • 🔧 Service fee(10%): $6.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Please! ♥︎acceptedenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions