Reputation: 628
If I create an issue with some codes in the gitHub, how to format it?
I have to add more white spaces again and again......
Is there anything like what we can see in the StackOverFlow by clicking "Code Sample" button?
Upvotes: 0
Views: 37
Reputation: 176552
Simply wrap the code with the fenced code block delimiters.
```
here is
the
code
block
```
You can also specify a language.
```ruby
puts "hello"
```
Upvotes: 3