Code Blocks
To render a code block, use the RUI::Markdown::Unsafe
component. This will render the code block as expected. For more information, see the RUI::Markdown documentation.
render RUI::Markdown::Unsafe.new do
<<-STRING
```ruby
def some_method
puts "Hello, world!"
end
```
STRING
end