With standard quotes, you can use advanced formatting, such as paragraphs.
> Sentence 1. > > Sentence 2.Sentence 1.
Sentence 2.
However, this is impossible with spoiler blockquotes.
>! Sentence 1. >! >! Sentence 2.Sentence 1. Sentence 2.
I think the spoilers should behave the save way as standard block quotes. Sometimes, it's nice to put a big explanation of the code in a spoiler, and currently I'm forced to use ugly <br>.
The issue is most likely caused by that spoiler block quotes are a hack, involving checking if the block quote begins with ! after rendering Markdown. This should be a part of Stack Exchange Markdown implementation in my opinion, not something implemented over actual Markdown.
-
\$\begingroup\$ @AdamLear Any update on the corresponding MSE feature request? \$\endgroup\$caird coinheringaahing– caird coinheringaahing Mod2021年07月17日 09:48:59 +00:00Commented Jul 17, 2021 at 9:48
-
\$\begingroup\$ @cairdcoinheringaahing Nothing new. I added a link to it to our internal tracker for this issue, though. \$\endgroup\$Adam Lear– Adam Lear StaffMod2021年07月19日 15:51:52 +00:00Commented Jul 19, 2021 at 15:51
2 Answers 2
Yep, definitely a bug, but for now instead of <br> you could end each line with two spaces.
Foo
Bar
-
\$\begingroup\$ Isn't... that what you do with normal markdown? \$\endgroup\$TheDoctor– TheDoctor2014年04月29日 21:44:05 +00:00Commented Apr 29, 2014 at 21:44
-
\$\begingroup\$ @TheDoctor With "normal" markdown, two newlines is a paragraph break. Adding two spaces after every line is a workaround for this. \$\endgroup\$Doorknob– Doorknob2014年04月29日 21:45:04 +00:00Commented Apr 29, 2014 at 21:45
It would be worth posting a bug report at meta.stackexchange if it hasn't already been done.
In the meantime:
>! <p>You can still use HTML markup to format spoiler text.</p>
>! <ul>
>! <li>`Like this,`</li>
>! <li>for example</li>
>! </ul>
>! <h2>Or this, even.</h2>
You can still use HTML markup to format spoiler text.
Like this,- for example
Or this, even.
-
\$\begingroup\$ It could be moved if neccessary. I'm just not sure how relevant this is to the entire network - I doubt that other sites need spoilers with paragraphs. \$\endgroup\$null– null2014年04月27日 20:02:32 +00:00Commented Apr 27, 2014 at 20:02
-
\$\begingroup\$ @xfix There was another bug with spoiler formatting that was recently fixed after a bug report was posted at meta SE. (It took a while for the admins to get round to it, mind you.) I think all the beta sites use identical themes, so the bug is almost certainly replicated in other places besides codegolf. \$\endgroup\$r3mainer– r3mainer2014年04月27日 21:26:33 +00:00Commented Apr 27, 2014 at 21:26
-
\$\begingroup\$ Please no. HTML is so annoying to edit and view. -_- \$\endgroup\$Doorknob– Doorknob2014年04月28日 02:24:05 +00:00Commented Apr 28, 2014 at 2:24
You must log in to answer this question.
Explore related questions
See similar questions with these tags.