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
Replies
Beautiful highlighting. Great job 🎉
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).
Thanks for letting me know! I’ll put that down for a bug fix 👍
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.?
Not dumb at all! Yeah it will do syntax highlighting for those languages and close to 200 in total 🙌