-13

I would like to suggest adding the answer number (#) to each answer on a page. This makes it easier to know which answer you are at when scrolling down a list of many and long answers.

For instance, I was reading through the answers of this post: GPT on the platform: Data, actions, and outcomes

and I got lost as to which answer I was at and how many are remaining.

6
  • 10
    What would the numbering be based on? When an answer receives a vote or two, would it exchange numbers with the answer above it - that could happen while you're reading, so how would it help?
    – W.O.
    Jun 8, 2023 at 1:10
  • It should be based on the order they appear
    – machine_1
    Jun 8, 2023 at 1:14
  • 11
    @machine_1 this can be different between reloads, so it is likely to cause even more confusion ("look at answer #3, it says xyz" "no it doesn't, it says abc!")
    – Esther
    Jun 8, 2023 at 3:48
  • @Esther The numbering isn't to refer an answer to someone in this context. It's just for keeping track of what have you read per session. I know the answer order may change after a reload.
    – machine_1
    Jun 8, 2023 at 10:21
  • 5
    @machine_1 how many questions do you think would be posted to meta about numbers not matching across reloads/different computers? it would be very confusing to most users.
    – Esther
    Jun 8, 2023 at 13:50
  • Small tips: perhaps you might consider using an answer sorting order that is more determinable: date created? Jun 9, 2023 at 6:14

1 Answer 1

14

You can add this using a userstyle like the following:

div.answer {
    counter-increment: answer;
}

div.answercell::before {
    content: "Answer " counter(answer);
    font-weight: bold;
    font-size:2em;
    border-bottom: solid 1px black;
    display: block;
    margin-bottom: 1em;
}

This will result in posts like:

enter image description here

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .