Syntax coloring (was: First Post)

First post! Yay! (Um, unless I’m misunderstanding this whole thing.)

4 Likes
(reply first-post)
1 Like

Trying out in-line code: (second thread-list)

(define (block-code)
  (displayln "yay"))
1 Like

Ouch, that highlighting isn’t great…

It supports scheme, via highlight.js, which does not support Racket.

If anyone needs a project, the source for the Scheme part is here:

4 Likes

Ooh… is there a way in discourse to promote a message in a thread to be its own top-level discussion?

Easier just to change the title of the discussion?

1 Like