My sister started a new position that involves HTML. She tried to explain an issue to me, but I’m not a web guy. I told her to send it to me on Monday and she sent this…

  • herrcaptain@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago
    1. Go straight to jail.

    Edit: No idea what’s up with the formatting. In my app this shows as step 5 but it seems to render as step 1. Is the Lemmy DB done in CSS?

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Lemmy is fine, it depends on the markdown parser/renderer. Markdown allows you to use any numbers for numbered lists and the renderer is supposed to display them corrected.

      As you can imagine that leaves a lot of ambiguity

    • OpenStars@discuss.online
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      For me it shows as step 5, in Firefox on Android using web browser interface. Also I can view your source which shows as simply “5. Go…”, so it is definitely your app.

    • melvisntnormal@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Put a slash before the dot, like 5\.:

      5. Go straight to jail.

      This is a Markdown issue really. Starting a line with a number and then a dot turns that line into an item in an ordered list. The most common behaviour (that I’ve seen) is to start that list from 1, regardless of what number is used. The intent is to make it easy to add items later without renumbering everything, for living documents at least.