mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-09 09:26:42 +02:00
Update formatting of example code
This commit is contained in:
@@ -55,7 +55,7 @@ Pressing `w` will bring up the branch selector.
|
||||
|
||||
Pressing `s` will select the search bar.
|
||||
|
||||
To see all of the sortcuts for given page type `shift+?`
|
||||
To see all of the shortcuts for given page type `shift+?`
|
||||
|
||||
## Closing issues with commits
|
||||
|
||||
@@ -75,12 +75,13 @@ To link to an issue in another repo, `user_name/repo_name#ISSUE_NUMBER` e.g. `ti
|
||||
|
||||
To add syntax highlighting to code in README:
|
||||
|
||||
```ruby
|
||||

|
||||
|
||||
```ruby
|
||||
require 'tabbit'
|
||||
table = Tabbit.new('Name', 'Email')
|
||||
table.add_row('Tim Green', 'tiimgreen@gmail.com')
|
||||
\`\`\`
|
||||
puts table.to_s
|
||||
```
|
||||
|
||||
## Emojis
|
||||
|
Reference in New Issue
Block a user