I am working with a markdown file, got some code blocks. For one specific code block I want to forcefully set tab-size equal 6. How do I do that?
I got three ideas:
- Something-something info-string. Just like I write
```sql
at the start of the code block, there could be a way to add something liketab-size = 6
or something. Haven't found any info about it though, and all my random guesses failed (tabsize
,tabSize
andtab-size
). Changing style via html tag. For example,
<span style = "font-size: 2em;"> ```sql <some code here> ``` </span>
does indeed change size of code. So it should in theory change tab size if I write something like
style = "tab-size: 6;"
. It doesn't. Moreover, I saw this post which mentions other properties like-o-tab-size
, so I added all that to myspan
tag too. Still nothing.
Side note: using Markdown preview plus from atom, having tab-size equal 2. In Markdown preview (without plus) every tab is exchanged for 4 spaces. In Github tab-size is 6, but it is not because I set it so (checked with different value, didn't work).
- Just use spaces instead of tabs, this clearly will work.
So, yeah, how do I do such a thing?