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?
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)|
|-|-|
|
|
|
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.
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)|
|
|
|-|-|
|
GitHub provides preview tab everywhere you write Markdown, can you provide a screenshot where you are not seeing the preview tab?