Im joining in on the reddit ditching thing, and was kinda worried at first that i wouldnt be able to like use it the way i did reddit as it feels like a whole new place, but after engaging with posts and people and actually being a part of lemmy rather than being lurk mode all the time i was pleasantly surprised with how easy it is to become a member of the community, theres a reasonable amount of subs (or whatever the other word for em is) that fit my interests, enough linux content and shitposting for my liking, and the overall random posts made by people equally fed up with Leddit. (also i admit i used reddit a little cus there was this post on the fedora sub showing how to fix a sound issue i been having after a recent update)

  • argv_minus_one@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Markdown works better than old.reddit in one way: fenced code blocks are supported! You can, for example, write:

    ```rust
    fn main() {
        println!("Hello, world!");
    }
    ```
    

    And it will come out as:

    fn main() {
        println!("Hello, world!");
    }
    

    Old.reddit would have mangled that code.

    Lemmy also understands the language name and wraps the output HTML in <code language=rust>, but it doesn’t seem to actually perform syntax highlighting. Maybe that’s planned for the future.