Home

View README Code in GitHub

Toggle between preview and code mode when viewing a markdown file in GitHub.

File this under how in the world did I not know this?

I’ve always appreciated that GitHub shows the rendered version of a markdown file by default, but I was also annoyed because I thought the only way to view the code was to go to the raw file.

Turns out there is a fancy little button toggle to switch between preview and code mode when viewing a markdown file in GitHub.

Let's Connect

Keep Reading

Collaborate On A GitHub Gist

GitHub gists are designed to be user-specific and not for team collaboration. But you can make it work with a little finagling.

Apr 25, 2018

3 Ways to Add an Image to GitHub README

Images often come in handy alongside documentation. Here are a few methods for adding them to your README and other markdown files.

Jan 30, 2021

Use Commit Hashes when Sharing GitHub URLs

Sharing GitHub commit hashes directly works for ephemeral uses, but there is a safer way for links that need to last.

Dec 15, 2022