-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add syntax-highlighting to example Ruby code in README.md (#221)
I think that applying syntax highlighting here will provide a more readable README. Since syntax highlighting cannot be performed on [indented code blocks](https://spec.commonmark.org/0.30/#indented-code-blocks), I replaced all ruby code parts with [fenced code blocks](https://spec.commonmark.org/0.30/#fenced-code-blocks) and specified `ruby` as their [info strings](https://spec.commonmark.org/0.30/#info-string). If you believe that the mixing of indented code blocks and fenced code blocks should be avoided, then I'm willing to rewrite all ones in fenced code blocks.
- Loading branch information
Showing
1 changed file
with
74 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters