testxlog

testxlog

In Obsidian, with the help of the Linter plugin, the numbering of subsequent items in an ordered list automatically adjusts after deleting an entry in the middle.

It started like this#

  1. This is item one
  2. This is item two
  3. This is item three
  4. This is item four

After deleting the middle item, it defaults to this#

  1. This is item one
  2. This is item three
  3. This is item four

After formatting with the Linter plugin, it looks like this#

  1. This is item one
  2. This is item three
  3. This is item four

Places to set up the Linter plugin#

  • In the fifth setting option content
  • Find the Ordered List Style option
  • Check to open Makes sure that ordered lists follow the style specified. Note: that 2 spaces or 1 tab is considered to be an indentation level.

Suggestions#

  • Reset the shortcut key Ctrl+S
  • Use Lint the current file instead of the default save current file
  • This way, you only need to press the shortcut key Ctrl+S to save the current file and automatically adjust the ordered list numbering
  • photo by Philip Oroni(https://unsplash.com/@philipsfuture?utm_source=templater_proxy&utm_medium=referral&fit=crop&mask=corners) on Unsplash
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.