text icon indicating copy to clipboard operation
text copied to clipboard

Ordered list doesn't show numbers in text file

Open Olybo opened this issue 9 months ago • 3 comments

Short summary of the issue

The bug
The numbers in an ordered list don't show up

To Reproduce Create an ordered list and see the numbers not showing

  • [x] Markdown syntax is not properly rendered in text
  • [ ] Markdown syntax is removed after closing text
  • [ ] Markdown syntax is changed after closing text
  • [ ] Something else: Please describe more in detail

Example markdown file

1. one
2. two
3. three
4. ...

Resulting markdown file after opening in text

one

two

three

...

Screenshot of the rendering in text

Image

Details

  • Nextcloud version: 30.0.8
  • Self diagnostic : ol css is set to list-style: none

Image

If set to decimal numbers show up. Image

Edit : Maybe it's a wrong diagnostic as setting ol css to list-style: decimal show number in the Nextcloud navbar 😅

Image

Olybo avatar Apr 10 '25 14:04 Olybo

Upvoted.

Imo, we should use a markdown plaintext editor with preview on another pane.

Can https://apps.nextcloud.com/apps/files_markdown be integrated into Nextcloud?

iamanigeeit avatar May 23 '25 07:05 iamanigeeit

Thanks for reporting, I could not reproduce this.

Can you check where the inline:1 link in the inspector leads to? Can you share the styles that are in the inline block there? This might be another Nextcloud app injecting global styles that then caues troubles with text.

juliusknorr avatar May 23 '25 07:05 juliusknorr

A code search in the Nextcloud or did not reveal that exact match at least for this rule, maybe you can also try to grep your nextcloud webroot for menu,ol,ul or menu, ol, ul to see where it is coming from.

juliusknorr avatar May 23 '25 07:05 juliusknorr

Closing due to lack of further information.

mejo- avatar Oct 08 '25 20:10 mejo-