henriklovhaug / md-tui

Markdown renderer in the terminal
GNU Affero General Public License v3.0
208 stars 13 forks source link

Add Scala syntax highlighting #117

Closed sierikov closed 6 months ago

sierikov commented 6 months ago

I've added Scala highlighting for code blocks. I had to lower the dependencies due to today's restrictions on version dependencies. Could you please review it? If it's an issue, we might need to wait until tree-sitter-scala supports tree-sitter=0.22.6. Closes #115.

Screenshot 2024-05-16 at 20 22 04
henriklovhaug commented 6 months ago

Lol I just created a branch and did the same thing. No need to add tree-sitter to the toml. Just downgrading tree-sitter-highligh and the other 0.22.x is fine. Update the changelog, with your name there if you want and I'll merge it

henriklovhaug commented 6 months ago

Forgot to check for Scala as language added to README. I'll just push it to main myself