Code tabulation in code blocks between HTML tags
See original GitHub issueHello @probablyup !
if i write example with some tabulation \n
:
<div class="markdown-to-jsx">
(\n) <-- MUST
```js
fun firstFunction(args: Array<String>) {
print("Hello world")
}
(\n) <-- MUST (IMPORTANT TAB)
fun secondFunction() {
print("Hello world")
}
```
(\n) <-- may be :)
</div>
the code render without IMPORTANT TAB
:
<div class="markdown-to-jsx">
```js
fun firstFunction(args: Array<String>) {
print("Hello world")
}
fun secondFunction() {
print("Hello world")
}
```
</div>
I hope you can help! Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to implement a tabbed codeblock tag for Hexo
I want to make a tag plugin that is a tabbed codeblock. e.g I want to post the same code in a few...
Read more >How to insert spaces/tabs in text using HTML/CSS?
The tab character can be inserted by holding the Alt and pressing 0 and 9 together. Syntax: .tab { tab-size: 2; }. Example: ......
Read more >Show Consecutive DITA Code Blocks in Separate Tabs - Blog
You can install this open-source DITA Open Toolkit plugin to display codeblocks as separate tabs in the published WebHelp output: https://github ...
Read more >1 Code::Blocks Project Management
Code ::Blocks provides an 'Embedded HTML Viewer', which can be used to display simple html file and find keywords within this file. Just...
Read more >Creating and highlighting code blocks - GitHub Docs
Share samples of code with fenced code blocks and enabling syntax highlighting.
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
Hello @probablyup ! Yep, it works on my side but still not working in your demo site. Awesome thanks for your help and for your best library! 😊
Give 6.7.3 a try, I think that fixes what you’re referring to