14
$\begingroup$

Overview

Our community utilizes spoiler functionality very heavily. However, it's lacking in obvious areas such as comments, chat and titles. [1] In a post, it's easy to use a spoiler by appending an exclamation point ! to the block quote's greater than symbol >, resulting in >!:

> This is the syntax for a block quote.
>! This is the syntax for a spoiler.

This results in a box that we must click on before its secrets are revealed to us:

This is a spoiler block.

However, this functionality isn't provided anywhere but within post content. How does PSE as a community get around this issue currently?

What is a Caesar Cipher?

For those who are unfamiliar with what a Caesar cipher is, let me begin with an excerpt from Wikipedia that explains it very well:

In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence.

It's very common for the PSE community to utilize a Caesar cipher (more specifically a 13 character shift is typical) to keep comments and chat messages, spoiler free. However, this often requires the use of external sources such as the ROT13 website, which isn't ideal for new users, nor users that are weary of external sources who might participate if this functionality was somehow provided locally.

What can we do?

Well, I want to propose this as a network wide change on Stack Exchange's full meta site, but I want to get feedback from the PSE community beforehand. If we could get extended spoiler functionality, how would we want it to work? My current idea is centered on how Discord handles spoiler text with the use of pairing vertical bars (pipes, virgules, etc.) around the text to be hidden:

This message contains a ||spoiler||.

However, I'm wondering if the PSE community has any additional ideas surrounding the topic before I create a post requesting the functionality on the network wide meta.

Questions

There are a few questions we should probably come to a consensus on, with reasonable explanations, in order to get the ball moving more efficiently if/when this is posted as a request on the network wide meta:

  • Do we want to extend spoiler functionality?
    • How would we want it to work, e.g. what should the syntax be?
    • Should comments support it?
    • Should chat support it?
    • Should titles support it?
    • Are there additional areas we should evaluate for support?

1: Areas are ordered by heaviest need based on community use of alternatives.

$\endgroup$
4
  • 1
    $\begingroup$ Yes, sometimes it is a pain in the neck to do rot 13 in comments, especially when we don't know what is getting encrypted. $\endgroup$
    – Stevo
    Commented Oct 4, 2021 at 4:44
  • 4
    $\begingroup$ Another problem with rot13 is that it does not hide numbers, typically. $\endgroup$ Commented Oct 9, 2021 at 19:07
  • 3
    $\begingroup$ Spoiler tags should definitely be supported inside comments. Rot13 is so annoying I don't even bother decoding it. Inline spoiler tags in posts would be a nice addition but not critical in my opinion. $\endgroup$
    – Florian F
    Commented Oct 10, 2021 at 10:15
  • 1
    $\begingroup$ The feature request post on SE meta $\endgroup$
    – Pumbaa
    Commented Mar 7, 2023 at 19:47

1 Answer 1

1
$\begingroup$

While this may be OT, it would be really useful to include additional formatting help for spoilers.

For instance, how do I add a block quote as spoiler text? Why I should only use in a spoiler text when it's absolutely necessary?

I saw a set of examples on this (meta) site - but can it not be added to docs?

$\endgroup$

You must log in to answer this question.

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