Refined-github: Preview when editing .md file

Created on 8 Jan 2019  路  3Comments  路  Source: sindresorhus/refined-github

In pull requests, GitHub provides a MarkDown preview tab when writing a comment or issue. That isn't available when editing a file in the repository, though, even when the file is README.md (which you'd think they'd recognize). Could you make the file editor act like the comment/issue editor when the file being edited ends in .md?

enhancement under discussion

Most helpful comment

@ps-gssleap What exactly are you referring to? Because I do see "preview" tab while editing "readme.md".

|Source repo|Forked repo (not readme)|
|-|-|
|image|image|

GitHub provides preview tab everywhere you write Markdown, can you provide a screenshot where you are not seeing the preview tab?

All 3 comments

This would have to be a hack that'd have to steal the New Issue's preview form (and authenticity token) to achieve the effect.

The feature should probably be its own extension (or ask GitHub, it sounds pretty straightforward)

@ps-gssleap What exactly are you referring to? Because I do see "preview" tab while editing "readme.md".

|Source repo|Forked repo (not readme)|
|-|-|
|image|image|

GitHub provides preview tab everywhere you write Markdown, can you provide a screenshot where you are not seeing the preview tab?

I don't know how I missed that. I swear it wasn't doing it when I put this in, but now I'm questioning my sanity. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sindresorhus picture sindresorhus  路  3Comments

sompylasar picture sompylasar  路  3Comments

MilesBHuff picture MilesBHuff  路  3Comments

vanniktech picture vanniktech  路  3Comments

hkdobrev picture hkdobrev  路  3Comments