The text is indented after the main text by pressing the tab key

Steps to reproduce

  1. Input a text
  2. Press the tab key
  3. Press the tab key

Expected result

a text<tab>

Actual result

<indent>a text

Environment

  • Operating system: win11
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.13.14
    Installer version: v0.13.14
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on

RECOMMENDATIONS:
none


Additional information

在任意一段文字后按下tab键,会像列表一样缩进,而不是打印出一个制表符。

这貌似是直接把制表符加到了行首,而不是加到光标处!

image

1 Like

This is intended behavior.

Bug
I have meet the same problem. This bug causes mathematical formulas to render incorrectly.

Operating system: MacOs 12.0.1

What formula is rendering incorrectly? You are turning that line in a codeblock.

I think the tabs in the text should not indent a paragraph, but print spaces.

Tab key make the paragraph become a codeblock. I originally intended to use tab to jump to the placeholder in the latex formula.

Here is a related question:
Tab and Enter does not work/breaks the table in live preview and source mode · Issue #147 · tgrosinger/advanced-tables-obsidian (github.com)

I don’t think we ever had this functionality in base obsidian.

Another related thread asking the same thing (I think):

https://forum.obsidian.md/t/create-tabs-or-spaces-at-the-position-of-your-cursor/28488

latex autocomplete

I have made a plugin to implement this function.