Login
You're viewing the ruby.social public feed.
  • Nov 27, 2026, 5:45 AM

    I think I'm pretty close to getting it working! I've got markdown.lua handling triple backtick code blocks, or as I've learned they're called, "fenced code blocks"

    looks like the only issue now is that the syntax highlighter I'm using has a bug where it sometimes fails to notice comments... gotta dig in there

    💬 1🔄 0⭐ 0

Replies

  • 💬 1🔄 0⭐ 0
  • Nov 27, 2026, 7:24 AM

    unfortunately in order to get the features I need for my site I pushed it over 1000 lines

    by exactly one line

    I've tightened up all the code I touched as far as reasonable; I could get it back in the 3 digits easily but it would involve gratuitous edits to other parts of the file that would look weird and suspicious... ugh!

    wouldn't bother me except for the fact that it's exactly 1001, so close

    💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0