Since this is a very new community, let’s take a moment to introduce ourselves in this thread. Please share your interests and what you are working on!
Since this is a very new community, let’s take a moment to introduce ourselves in this thread. Please share your interests and what you are working on!
Do code-blocks work better than on reddit for mobile?
Fenced code block:
module Main where main :: IO () main = do putStrLn "Hello, kbin!"
Indented 4 spaces:
module Main where main :: IO () main = do putStrLn "Hello, kbin!"
update: Oh wow, looks like only inline code fragements work? Something like
main = putStrLn "Hello, kbin!"
update 2: No syntax highlighting at all! That’s probably a show-stopper.
AFAIK Reddit also doesn’t have syntax highlighting, or does it? The blocks and inline code in your comment does render in a monospace font, so that’s a good first step. I also believe kbin is still very new and might get more features like syntax highlighting in the future.
Styling for code blocks has been merged: https://codeberg.org/Kbin/kbin-core/pulls/494. I hope it goes live here soon.