Can posts have a body and a URL?

Is markdown supported?

Console.WriteLine("Hello, World")

Do code blocks work?

What about with syntax highlighting?

console.log("Hello, World");

Can I make a code block with indentations?

var a = “Hello” var b = “World” console.log(${a}, ${b});

Let’s see what quotations look like,

This is a quote.

And this one will be multiline.

Line one. Line two.

There should be a space above.

I think that’s enough testing for now.

  • Jason Novinger
    link
    fedilink
    English
    110 months ago

    I’m curious about Markdown in post titles. Anybody know about that?

    • Jason Novinger
      link
      fedilink
      English
      110 months ago

      Looks like at least inline code styling is working in titles: https://programming.dev/post/184949. I also confirmed elsewhere that emojis work in titles.

      I went looking at the Lemmy docs, but didn’t find anything specific about titles. Just this:

      The main type of content in Lemmy is text which can be formatted with Markdown. Refer to the table below for supported formatting rules.