Skip to main content

Timeline for Formatting Sandbox

Current License: CC BY-SA 4.0

14 events
when toggle format what by license comment
Jan 17, 2023 at 19:14 comment added Makyen If this answer does get edited, an archive is available: web.archive.org/web/20230117184807/https://…
Mar 20, 2022 at 17:03 comment added Makyen PLEASE DO NOT EDIT THIS ANSWER. If you edit this answer, then it's usefulness will be destroyed, as the HTML will be regenerated differently than it currently is. SE's Markdown->HTML rendering changed after this answer was last edited to remove the feature which this answer was testing. If you want to play with the Markdown for this answer, I created a near-duplicate answer after SE made the change in Markdown->HTML rendering.
Jul 19, 2021 at 17:59 history edited Makyen CC BY-SA 4.0
Try some headers within ordered lists
Jul 14, 2021 at 15:33 comment added zcoop98 (Now I just feel silly for never connecting "post headers" to "headings in posts" in my head lol; I always assumed that title referred to the banner the script places above posts)
Jul 14, 2021 at 15:21 comment added zcoop98 Good point! Here's one with everything disabled (I didn't even realize that I had a script messing with headings... the more you know I guess. Looks like it's the Post Headers & Question TOC script).
Jul 14, 2021 at 15:08 comment added Makyen @zcoop98 Some of the elements which you show in your screenshot I don't see in the page. I'm assuming that you have an extension or userscript which adds all the <a class="js-named-anchor"> elements, because I don't see them in the HTML that I receive from SE.
Jul 14, 2021 at 15:01 comment added Makyen @zcoop98 Tests here show: IDs are stripped in preview, but not backend processing. Custom IDs are not necessarily modified to make then unique to the post. So far, it's not clear if it's possible to have the ID conflict with another post, or even an ID which SE uses in their HTML. If the elements weren't stripped, I would have expected the IDs to be modified to add the post ID in order to force them to be unique to the post ID. So far, it appears that the ones SE auto-adds do have a hash of some type, but that the hash is not invariant (i.e. auto-IDs may change when the post is edited)
Jul 14, 2021 at 14:41 comment added zcoop98 So h4-h6 id attributes aren't stripped?
Jul 14, 2021 at 14:34 history edited zcoop98 CC BY-SA 4.0
Rename specified IDs to verify that they're really replaced; naming them exactly the same thing as the system does makes it really hard to actually tell
Jul 14, 2021 at 12:18 history edited Makyen CC BY-SA 4.0
Add an additional heading to check on IDs changing. Also verify that we can't assign IDs to headings in HTML.
Jul 14, 2021 at 12:04 history edited Makyen CC BY-SA 4.0
Add a HTML comment in order to re-render to get IDs for the Markdown headers, which was recently introduced.
Jul 11, 2021 at 23:34 history edited Pixelated Fish CC BY-SA 4.0
Bunch of H1->the right numbers
S Jul 11, 2021 at 19:41 history answered Makyen CC BY-SA 4.0
S Jul 11, 2021 at 19:41 history made wiki Post Made Community Wiki by Makyen