Skip to content

Commit 24157ae

Browse files
committed
Add explicit type to source blocks in 2-contributing.asc
1 parent a33d55f commit 24157ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/06-github/sections/2-contributing.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ The first really useful GitHub specific Markdown feature, especially for use in
305305

306306
You can create a task list like this:
307307

308-
[source]
308+
[source,text]
309309
----
310310
- [X] Write the code
311311
- [ ] Write all the tests
@@ -334,7 +334,7 @@ You can also add code snippets to comments. This is especially useful if you wan
334334

335335
To add a snippet of code you have to ``fence'' it in backticks.
336336

337-
[source]
337+
[source,text]
338338
----
339339
```java
340340
for(int i=0 ; i < 5 ; i++)
@@ -356,7 +356,7 @@ If you're responding to a small part of a long comment, you can selectively quot
356356

357357
The quotes look something like this:
358358

359-
[source]
359+
[source,text]
360360
----
361361
> Whether 'tis Nobler in the mind to suffer
362362
> The Slings and Arrows of outrageous Fortune,
@@ -380,7 +380,7 @@ image::images/markdown-06-emoji-complete.png[Emoji autocompleter]
380380

381381
Emojis take the form of `:<name>:` anywhere in the comment. For instance, you could write something like this:
382382

383-
[source]
383+
[source,text]
384384
----
385385
I :eyes: that :bug: and I :cold_sweat:.
386386

0 commit comments

Comments
 (0)