You can also share and discuss code snippets with the new quote feature 🤓 and it will do syntax highlighting ⚡️⚡️⚡️ Just select the code "< >" option in the Drop compose dialog in the quote editor.
# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!"
  end
end

# Create a new object
g = Greeter.new("glue")

# Output "Hello Glue!"
g.salute
3
4
Replying to @noah
This might be a dumb question bc I only dabble in coding, but would this highlight code in various languages - ie java, Python, sql, etc.?
1
0
Replies
Not dumb at all! Yeah it will do syntax highlighting for those languages and close to 200 in total 🙌
1
0
Way cool. Thanks.
0
0