Timeline for Make first line of code empty in code block
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2022 at 19:08 | history | edited | Ilmari Karonen | CC BY-SA 4.0 |
code fences make this easy
|
Jun 2, 2014 at 17:00 | comment | added | animuson StaffMod |
It's not really a side-effect, it's more of a misconception from the ages of indenting and breaking lines for code readability. People are used to adding that line break and indentation in their code between the <pre> and where the pre-formatted text actually starts, so that it's easy to read in the raw HTML. But they don't realize that it also adds that line break and spacing to the actual rendering of the pre-formatted text. It looks ugly, but that's how it's supposed to work.
|
|
Jun 2, 2014 at 16:53 | history | edited | Ilmari Karonen | CC BY-SA 3.0 |
added 963 characters in body
|
Jun 2, 2014 at 16:51 | vote | accept | Mehdi Nellen | ||
Jun 2, 2014 at 16:47 | vote | accept | Mehdi Nellen | ||
Jun 2, 2014 at 16:47 | |||||
Jun 2, 2014 at 16:47 | history | edited | Ilmari Karonen | CC BY-SA 3.0 |
added 963 characters in body
|
Jun 2, 2014 at 16:30 | history | answered | Ilmari Karonen | CC BY-SA 3.0 |