Skip to content

Styles don't work well with indented code blocks #22

@m-iwanicki

Description

@m-iwanicki

Example 1, correct result, no indentation in code or code block:

* Test

.code-9px[
```bash
ls -lh
```
]

Image


Example 2, partial indentation of code inside code block, but block itself (background color) isn't indented:

* Test

.code-9px[
    ```bash
    ls -lh
    ```
]

Result:

Image


Example 3, correct indentation but style doesn't apply:

* Test

    .code-9px[
    ```bash
    ls -lh
    ```
    ]

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions