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

[feature] color indented code blocks #168

Open
vepain opened this issue Nov 6, 2024 · 2 comments
Open

[feature] color indented code blocks #168

vepain opened this issue Nov 6, 2024 · 2 comments

Comments

@vepain
Copy link

vepain commented Nov 6, 2024

It would be great to color code blocks when they are indented.

Indented code blocks appear under items of ordered lists to respect markdown lint conventions md029

Exemple:

1. Clone from GitHub

    ```sh
    git clone [email protected]:myrepo.git
    cd myrepo
    ```

2. *(Recommended)* install the package in a virtual environment.

    ```sh
    python3.10 -m pip install virtualenv
    python3.10 -m virtualenv .venv310
    source .venv310/bin/activate
    ```
@mjbvz mjbvz transferred this issue from microsoft/vscode-markdown-languageservice Nov 6, 2024
@mjbvz
Copy link
Contributor

mjbvz commented Nov 6, 2024

Seems to work fine for me with other languages besides shell:

Image

@vepain
Copy link
Author

vepain commented Nov 7, 2024

Thank you for your example.
The behaviour is not the same for shell:

Image
Image

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

2 participants