You can write your articles with Kramdown [https://kramdown.gettalong.org/documentation.html]. You can always change this settings in the config file.
You can put titles.
Or even code
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.