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

Better markdown support #3218

Open
gytis-ivaskevicius opened this issue Feb 28, 2025 · 1 comment
Open

Better markdown support #3218

gytis-ivaskevicius opened this issue Feb 28, 2025 · 1 comment

Comments

@gytis-ivaskevicius
Copy link

Syntax:
I have noticed that markdown files with typescript code blocks (starts with ts or typescript) don't get highlighted. Maybe the treesitter package needs to be updated?

@eth-p
Copy link
Collaborator

eth-p commented Feb 28, 2025

Bat uses Sublime's .sublime-syntax highlighting definitions via the syntect library. TypeScript isn't included in the default Sublime syntax packages, which makes adding it as a Markdown code fence a bit more involved of a process.

More context from @keith-hall's comment here: #3148 (comment)

Related issue: #2084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants