planetruby / gems

Ruby Digital Identity & Metaverse Week 2022, September 5th to September 11st - 7 Days of Ruby (Profile Picture & Avatar Character Generation) Gems ++ Best of Ruby Gems Series
https://planetruby.github.io/gems
Creative Commons Zero v1.0 Universal
75 stars 26 forks source link

Add syntax-highlighting to fenced code-blocks #16

Open ashmaroli opened 5 years ago

ashmaroli commented 5 years ago

Currently the code-blocks do not have syntax-highlighting and are therefore rendered as monotonous plaintext.

geraldb commented 5 years ago

@ashmaroli Thanks for reading all articles. The latest post / article definitely has syntax highlighting, see https://github.com/planetruby/gems/blob/master/18-hexapdf.md Or am I missing something? Yes, for adding if the old articles miss the syntax highlighting. PS: By the way, thanks for your great work on jekyll. Keep it up. Cheers. Prost.

ashmaroli commented 5 years ago

if the old articles miss the syntax highlighting

Yes. I was referring to the articles updated in the commit: https://github.com/planetruby/gems/commit/11b11acf66392384c513af07bfe8cd2dad78f4a4

ashmaroli commented 5 years ago

Likewise, thank you for all the work in curating gems and plugins in the Ruby Universe. Highly appreciate it.

geraldb commented 5 years ago

Thanks for your kind words. I see. You're right - the articles are still using the old ~~~ code block style and no syntax highlighting. I will try to update the articles over the next weeks (with the new (re)start / updates of the Gem of the Week series). Cheers. Prost. PS: You're of course invited to write-up a gem of your choice for the series :-).