Code block formatting does not always respect spacing/returns
See original GitHub issueFor some reason code blocks aren’t respecting the hard return.
In .svx
file:
```html
<style>
.red {
color: red;
}
</style>
Output:
Just wanted to bring it to your attention just in case it is relevant for ya.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Creating and highlighting code blocks - GitHub Docs
Tip: To preserve your formatting within a list, make sure to indent non-fenced code blocks by eight spaces. To display triple backticks in...
Read more >Cannot change formatting with code blocks - Zendesk help
I recently noticed that I am no longer able to set bold property on selected text within a code block. I have been...
Read more >Solved: How do I paste code into Code Block with preserved...
As I understand, the Code Block macro is not respecting the indentation after copying code and then pasting it inside the macro.
Read more >Jira code formatting: A few quick tips - Valiantys
Wondering how to format code block in Jira? ... is an immediate red flag that the code probably doesn't follow best programming practices....
Read more >HTML formatting inside highlighted code blocks is no longer ...
Why is text formatting in code blocks now broken? This is caused by a change to the syntax highlighter used by Stack Overflow,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed by #81
Awesome! Thanks @pngwn and @dominikg