-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Code tabs break numbered lists and cannot be indented #1279
Comments
Hey awesome @jamesgeorge007 🎉, thank you for the interest. I'm sorry for the late response, sometimes I missed the notification. I could point out where this code is. The logic is mainly here There is also another bug issue related to it #1260 |
@endiliey Can you nail it down throwing light on what is to be done specifically with the chunk of code 🤔 |
I have an idea on how to fix this specific issue. We would have a different regex matching that checks for the indentation (can probably just add an optional group |
🐛 Bug Report
I cannot currently nest the code tabs inside a numbered list. Normally, to nest something like a code block in a numbered list, you insert about three spaces in the Markdown. It shows up as an unnumbered paragraph in the HTML. Unfortunately, this does not work with Docusaurus and prevents use of the code tabs inside a numbered list.
In addition, unindented code tabs break the autonumbered list.
Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
Example #1:
Example #2
Expected behavior
Example #1:
Expected "Do that" to be #2
Example #2:
Expected code tabs to be properly indented and nested inside the numbered list.
Actual Behavior
Example #1:
"Do that" is #1
Example #2:
No code tabs, just two indented code blocks.
Reproducible Demo
Sorry I cannot make a public repo for you right now. Our repo is private.
The text was updated successfully, but these errors were encountered: