You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use dashed line--- in the render, change the order I set to the order list and recalculate the order list
Text used
# Example1. one
---2. two
---3. three
4. four
5. five
6. six
7. seven
8. eight
How is rendered
Expected behavior
Description
I expected to still the previous behavior and respect the way in that I structure the order list.
Healthcheck output
==============================================================================
render-markdown: require("render-markdown.health").check()
render-markdown.nvim [version] ~
- OK plugin 7.6.12
- OK neovim >= 0.10
render-markdown.nvim [configuration] ~
- OK valid
render-markdown.nvim [nvim-treesitter] ~
- OK installed
- OK markdown: parser installed
- OK markdown: highlight enabled
- OK markdown_inline: parser installed
- OK markdown_inline: highlight enabled
- WARNING latex: parser not installed
- ADVICE:
- Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }
render-markdown.nvim [executables] ~
- WARNING latex2text: not installed
- ADVICE:
- Disable LaTeX support to avoid this warning by setting { latex = { enabled = false } }
render-markdown.nvim [conflicts] ~
- OK headlines: not installed
- OK obsidian: installed but should not conflict
I have updated this plugin to the latest version using my plugin manager
I have provided the text contained in all screenshots as raw text in this issue. This means if there is a screenshot below it is the copy pasted contents of the file in the screenshot. I understand that my issue will be closed if I have not.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Not a bug. Ordered lists infer number based on list structure, when you put a dashed line you're starting a new list so the numbers restart. I can update the default behavior to only infer the number if the value is 1.
## Details
Request: #254
Previously auto indexing was added for ordered lists to generate the
number value based on the items position in the list. This works for
standard lists but sometimes users want to override the number based on
the value actually set. To support this the default value has been
updated to only use the auto value if the user value is <= 1. The icons
function now also takes a third parameter with the text value of the marker.
MeanderingProgrammer
changed the title
bug: Render list structure is not respected after a dashed line
feature: do not auto index lists if numbered manually
Feb 7, 2025
Neovim version (nvim -v)
0.10.2
Neovim distribution
N/A
Operating system
Linux
Terminal emulator / GUI
Wezterm
Describe the bug
Description
When I use dashed line
---
in the render, change the order I set to the order list and recalculate the order listText used
How is rendered
Expected behavior
Description
I expected to still the previous behavior and respect the way in that I structure the order list.
Healthcheck output
Plugin configuration
Plugin error log
Confirmations
Additional information
No response
The text was updated successfully, but these errors were encountered: