cristianvasquez / obsidian-prettify

A markdown prettifier for obsidian
GNU General Public License v3.0
130 stars 12 forks source link

spaces after - #24

Closed dariuszkowalski-com closed 3 years ago

dariuszkowalski-com commented 3 years ago

I see that after format a list

- A
- B
- C

after a - char there are added 3 spaces. As I understand Obsidian in normal mode add one space between char - and[ ] or [x]

the result file is incompatibile with very Toggle Checklist status

and form me it makes a search expresion expensive for example for a todo items.

/- \[ \] \#TAG/

cristianvasquez commented 3 years ago

Hi @dariuszkowalski-com, I updated the plugin to add the option of having 1 space.

dariuszkowalski-com commented 3 years ago

It doesn't work As espected: (Obsidian 0.10.2) plugin 0.0.6

  1. one space:

image

afer - one space -> ok, but intend has two spaces (two dots)

Expected results:

  1. mixed image

    • first inted has 3- space after a - char , secound has 4 spaces which make an intend and 1 space after a -

Expected results:

  1. tab image

    • first inted has 3- space after a - char , secound has 4 spaces which make an intend and 3 spaces after a - . there is no a TAB char at all

Expected results: