A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/392 below:

cleanup-list-numbers doesn't work when there's leading space · Issue #392 · jrblevin/markdown-mode · GitHub

When there're leading spaces in a numbered lists' numbers, markdown-cleanup-list-numbers renumbers the items incorrectly.

Steps to Reproduce

Have a buffer in markdown-mode and the following text

Shortcuts
---------
  2. Horizontal rule: `C-c C-s -`
  3. Underlined header `C-c C-s !`
 10. Convert to HTML: `C-c C-c m`

Press C-c C-c n to reorder numbers.

Expected Output
  1. Horizontal rule: `C-c C-s -`
  2. Underlined header `C-c C-s !`
  3. Convert to HTML: `C-c C-c m`
Actual Output
Shortcuts
---------
  1. Horizontal rule: `C-c C-s -`
  2. Underlined header `C-c C-s !`
 1. Convert to HTML: `C-c C-c m`
Software Versions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4