Placing hex colors in backticks renders a tile in that color. If you can find the ESC, pressing that will fire missiles □ It’s perfect for documenting things like keyboard shortcuts or game controls in your READMEs/wikis. You can use tags to make text appear like a button, which is slightly different from regular backticked text. GitHub Flavored Markdown is great for vanilla formatting of text and basic tables, but sometimes you need to get creative to make it do what you want. If you like hacking on fun stuff like this, consider applying to our internship program! 6. I recall that this feature was originally built by a few interns several years ago. You can also link to a line number range by holding down SHIFT and selecting the starting and ending lines.Īdded bonus: If you add a code snippet link in a GitHub comment, a nice visualization of the code appears. You can press y or click Copy to generate the canonical URL that will always work. If that file is edited, deleted, or renamed, unfortunately the link will no longer work as expected. By default, the line number (for example, #L1337) is appended to the URL, which will always take you directly to that line. You can link to specific lines of code by clicking the line number when you’re viewing a file. This isn’t so much of a secret, but it’s definitely not known by everyone, and occasionally blows minds. Mention Highlighter, created by my buddy highlights all references to my name and wow, do they jump out! Even in a wall of text or when I’m quickly skimming comments, I’m able to see any mentions directed to me. No matter how many elaborate email or notification filters you set up, there’s always one that slips through the cracks. All you have to do is change the API endpoint to match your instance’s URL (for example, ). You can enable Desktop notifications too if that’s your jam. On the topic of browser extensions, this project from tells you exactly how many GitHub notifications are waiting with an unobtrusive icon on your toolbar. ![]() ![]() If you’re building a browser extension for GitHub, and want to make sure it works for GitHub Enterprise, you can get a developer license by joining the GitHub Developer Program. Speaking of searching for files, this great browser extension called Octotree helps you navigate directories, and open files with a familiar tree-like structure.īonus points: It works with GitHub Enterprise □įun fact: I reached out to the author about supporting GitHub Enterprise a few years ago. I used to find it invaluable jumping into new Rails projects and quickly looking for schema.rb to get a feel for the app.Ģ. Press t in any repository to access it and start typing the name of the file you want to find. I think I was working at GitHub for over a year before I discovered that we had a fuzzy file finder. ![]() ![]() I’m sharing a few of my favorites, and hopefully there’s something new and helpful for you. I’ve been using GitHub as an engineering, business development, and marketing manager for over 10 years now-quite the career trajectory! Along the way, I’ve picked up a few tricks to manage my notifications, quickly locate content and create pull requests, push markdown to its limits, and personalize my experience with some third party extensions. This post highlights some great browser extensions, URL hacks, keyboard shortcuts, plus a few dad jokes. This is the second in a series of posts featuring protips from GitHubbers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |