You can now highlight your code blocks on GitHub using the rs alias!

Until now on GitHub you were only able to mark a code block as Rust code with ```rust to get it syntax highlighted. You can now use a shorter ```rs because of Add rs alias for Rust by r00ster91 · Pull Request #5321 · github/linguist · GitHub which adds this alias.
This is also consistent with this forum, Zulip and Discord where it's already possible to highlight a code block using ```rs.

5 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.