Closed PhalanxHead closed 2 years ago
Thanks for the report!
Try to use full described HTML page with <!DOCTYPE html>
& <html>
.
The example above works in any browser: https://jsbin.com/quhubay/edit?html,output
Oh wow I feel like such a noob 🤣 Can you tell I'm usually a backend developer? :p
Description When rendering a standard HTML page, any indentation in the code block is removed, and the entire code segment is displayed with the same column index.
In Essence, I expect:
But I'm getting
To Reproduce Copy the sample at the end into a raw html file and open it in your browser.
Expected behavior The code block should preserve formatting, including indentation.
Desktop:
Additional context Presumably, by putting
<code>
segments into a HTML table, it is removing whitespace. I've edited my code blocks to replace any double spaces with 
, but this is not optimal for copying code back out.Sample indicating bugged page