You can now write and format programming code in Google Docs
“Building Blocks” were introduced to Google Workspace as a Smart Canvas feature that provides formatting templates, such as meeting notes, email drafts, etc. Now, there will be a new Building Block type available specific to programming code, which gives you the ability to visualize code with industry standards, making code readable and collaboration much easier.
Source: You can now write and format programming code in Google Docs
No Ruby support, it seems, but still this is a welcome change for writing proposals!