Code indents in code blocks between HTML tags
See original GitHub issueHello!
REPRODUCED ONLY: code block MUST BE between HTML blocks.
Example block:
<div>
```kotlin
fun main(args: Array<String>) {
print("Hello world")
}
```
</div>
render as:
<code>
fun main(args: Array<String>) {
print("Hello world")
}
</code>
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
HTML: Indentation and Spacing | CSE 154 Unofficial Style Guide
Spacing and indentation should be consistent throughout your code. Many developers choose to use 4-space or 2-space indentation. In HTML, each nested tag...
Read more >How do I use indentation in a <code> tag? - Stack Overflow
It is used when displaying text with unusual formatting, or some sort of computer code. And you will not need additional "br" tags....
Read more >HTML Indentation and Spacing - LearnHowToProgram.com
When you are writing HTML (or any other programming language), well-written code follows consistent indentation and spacing patterns.
Read more ><code> HTML Tag »
CODE indicates text that is the code for a program. ... the <pre> element to preserve line breaks and indentation when presenting blocks...
Read more >Formatting & Indenting Your HTML - Scott Granneman
Best method: indent text/content ↩ · Start ( <p> ) & end ( </p> ) are at same level, so it's easy to...
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 Free
Top 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
Will take a look, thanks
@probablyup Awesome! Thank you so much 🎉