Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] numbered list can't render number in preview panel #627

Open
zshnb opened this issue Mar 28, 2024 · 4 comments
Open

[BUG] numbered list can't render number in preview panel #627

zshnb opened this issue Mar 28, 2024 · 4 comments

Comments

@zshnb
Copy link

zshnb commented Mar 28, 2024

image

as you can see in the pic, left I write numbered list like

  1. 1
  2. 2
  3. 3

but right doesn't render number.
how can I fix this?

@h4ck4life
Copy link

I am having the same issue

@h4ck4life
Copy link

@zshnb try add below css to override it,

.wmde-markdown ol {
  list-style: auto !important;
}

You should now see the numbering.

@jaywcjlove
Copy link
Member

image

@h4ck4life @zshnb Is it because the default styles have been reset? Do I need to add the default styles to the CSS?

@leonardosarmentocastro
Copy link

same here:

Screenshot 2024-10-09 at 08 18 12

@h4ck4life suggestion worked for me:

.wmde-markdown ol { list-style: auto !important; }
.wmde-markdown ul { list-style: disc !important; }

Screenshot 2024-10-09 at 08 20 42

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants