@Taras As much as i am for the toggle option, because as dev myself i wrap my MD code blocks by these fellows``` but get some other notes code-blockyshied due to this native MD behavior, I think you should calm your horses. It’s free app. You can bark at, i dunno JetBrains for messing up their Toolbox when you got them few hundreds of bucks for using their CLion, or something but if someone presents you (super useful) thing for free you can just politely ask for a favor or move along.
HELLO!
A plugin for the Tab key fix has been developed by someone. It’s called “Restore Tab Key” ![]()
Hey, I don’t know if this plugin fixes all scenarios. I’m still facing the problem with the plugin enabled. On the description and examples they provide it seems to be something more related to how tabs works inside code blocks, not when dealing with the first tab, the one that we want to simply ident stuff. If I’m wrong please let me know.

It’s funny how things are. It’s not like I’m going to cry out, the thing is that it’s a nightmare for anyone that wants to insert Obsidian into their routine to get used to this standards, mainly when the standards seems to decrease the quality of the text you write. I’m fighting against every Obsidian barrier so far (Tables, Content width, line height and so on), but this one seems to be the most annoying one and honestly I’ll probably just wait til I find a solution so the transition can be smoother
Is there a plugin released to resolve this issue yet?
A feature of the Obsidian that I’ve been feuding with since switching from Notion to Obsidian - for over two years now, I guess.
I support this request, and am very happy to see “valuable” on it.
I also support this age-old request. Would also resolve the inconsistent behavior of markdown links getting codeblocked but wikilinks staying normal.
Am I correct in understanding that this issue cannot be resolved using CSS?
I tried:
.markdown-source-view.mod-cm6 .cm-hmd-indented-code {
font-family: var(--font-text) !important;
font-size: inherit !important;
background: none;
}
… but:
- Functionally, this is still
Code– formatting in these blocks doesn’t work; for example, bullet lists aren’t displayed as bullet lists. - Code formatting within these blocks also stops displaying, even if it was specifically applied
yeah, it’s been tried before afaik. a plugin might be able to do it but we can’t affect it with css alone
Okay, thanks
Use case or problem
I am a law student, we use indentation to structure our reports. My problem is that indenting will turn text into code blocks that do not allow formatting. I need to add links etc. to indented text but keep the text readable.
There is a community plugin that allows indenting single lines and keeping the formatting. Yet what I need is the possibility to indent full paragraphs.
Proposed solution
Making multiple indentations possible without changing the text format e.g. through a plugin.
Current workaround (optional)
I use < br > but it really stops the flow. I have tried various css-Snippets, too, one from this forum. Sadly none of them worked. I am grateful for any ideas!
Related feature requests (optional)
In general you cannot produce documents that have paragraph specific indentation in Obsidian. You need to use Word etc. This is because documents are encoded with markdown which doesn’t offer paragraph indendation.
You can indent every paragraph using CSS.
.markdown-preview-view p {
text-indent: 2em;
}
This works in preview view (Ctrl + E or ⌘E). Achieving this in the live preview is probably very difficult or impossible. You can use splitted view (⌘ click the book icon) to have source and preview simultaneously. Having different styles for pdf exports is possible but difficult. This kind of work is usually done using Word.
Bullets will allow you to indent to different levels.
You could use blockquotes or one of the callous, and style it the way you want.
Thank you! Maybe I don’t understand what you mean, but when using bullet points and indenting, Obsidian still changes the formatting of the text to code.
This is a pretty easy fix I didn’t think of! Not perfect because I jump back to the first indentation after every line break, but very workable. Thank you!
This may not be what you’re looking for but one work-around would be to write your text with your word processor app of choice and save it in the attachement folder of your vault. Then create a note and embed that file into the note (drag’n drop that file into your note). This allows almost instant recall of your note in its default app for editing or just reading.
You can also automatically create docx files based on the active note name.
- https://jadennl.github.io/pandocwordtutorial/docs/mdtodocx.html
- use Execute Code to get active note name using
@title - or use Shell Commands and
{{title}} - see also Enhancing Export
The idea is that when you are done with your note then you can left click a button (Execute Code) to convert your note to docx OR you can execute a command palette command to do the same (Execute Code, Shell Commands and Enhancing Export). Enhancing Export has “export with previous” command which offers nearly similar functionality as Execute Code and Shell Commands.
Thank you for the detailed replies. This might come in handy, so far I need to be able to indent AND come back to the editable notes. I continuously notice my mistakes and need to fix them ![]()
One more option is LaTeX and Overleaf