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

Syntax highlighting for Markdown fails after fenced code blocks #148

Open
lindhe opened this issue Aug 21, 2023 · 6 comments
Open

Syntax highlighting for Markdown fails after fenced code blocks #148

lindhe opened this issue Aug 21, 2023 · 6 comments

Comments

@lindhe
Copy link

lindhe commented Aug 21, 2023

Syntax highlighting gets broken when there's a fenced code block inside a list item or inside a quotation.

Without vscode theme

Screenshot 2023-08-21 084922 Screenshot 2023-08-21 084943

With vscode theme

Screenshot 2023-08-21 085032 Screenshot 2023-08-21 085051
@lindhe
Copy link
Author

lindhe commented Aug 21, 2023

Might not be your fault. I realize that other themes has the same issue, so perhaps the issue is just not very visible (but still present) when not setting a custom colorscheme.

@Mofiqul
Copy link
Owner

Mofiqul commented Aug 22, 2023

@lindhe - Did you install markdown treesiter? If not, install it.

@lindhe
Copy link
Author

lindhe commented Aug 22, 2023

No, I haven't. Thanks for the tip!

This one? https://github.com/nvim-treesitter/nvim-treesitter

@lindhe
Copy link
Author

lindhe commented Aug 22, 2023

Just installing that plugin was not enough, unfortunately. :(

@Mofiqul
Copy link
Owner

Mofiqul commented Aug 22, 2023

@lindhe - Yeah. After installing that plugin do :TSInstall markdown

@lindhe
Copy link
Author

lindhe commented Aug 22, 2023

Done that too. :(

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