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
Replies
Beautiful highlighting. Great job 🎉
0
0
hey Noah, nice work! Issue report: I notice that the system doesn't like the .webp image format (at least for profile headers, it will load and display it, but then it chokes when you push the update button and pitches it overboard).
1
0
Thanks for letting me know! I’ll put that down for a bug fix 👍
0
0
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
Not dumb at all! Yeah it will do syntax highlighting for those languages and close to 200 in total 🙌
1
0