question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code tabulation in code blocks between HTML tags

See original GitHub issue

Hello @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:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexanderPrendotacommented, Sep 24, 2018

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! 😊

0reactions
probablyupcommented, Sep 24, 2018

Give 6.7.3 a try, I think that fixes what you’re referring to

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found