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

Nested code blocks have wrong indentation #268

Closed
bmorelli25 opened this issue Jan 17, 2025 · 1 comment
Closed

Nested code blocks have wrong indentation #268

bmorelli25 opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
authoring Relates to our markdown parser bug

Comments

@bmorelli25
Copy link
Member

bmorelli25 commented Jan 17, 2025

1. Item 1

    1. Item 1a
    ```json
    Do something1
    ```
Image

The do something code block contents should not be indented that far. This bug is magnified the deeper a code block is nested. The actual code block nesting itself is working as expected.

Another example:

This is from the ES book: http://localhost:5000/remote-clusters-api-key.html#remote-clusters-security-api-key-remote-action

Image
@bmorelli25 bmorelli25 added authoring Relates to our markdown parser bug labels Jan 17, 2025
@reakaleek reakaleek self-assigned this Jan 23, 2025
@reakaleek
Copy link
Member

Fixed by #345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Relates to our markdown parser bug
Projects
None yet
Development

No branches or pull requests

2 participants