leandrocp

leandrocp

Autumn - Syntax highlighter powered by Tree-sitter and Neovim themes.

Autumn is a syntax highlighter powered by Tree-sitter and Neovim themes.

You can check out how it looks like at https://autumnus.dev/

Features

  • :rocket: Backed by a Rust library
  • :deciduous_tree: 60+ languages
  • :artist_palette: 100+ Neovim themes
  • :memo: Formatters: html inline, html linked, terminal
  • :magnifying_glass_tilted_left: Language auto-detection

https://github.com/leandrocp/autumn

Most Liked

hauleth

hauleth

It is impossible to do with just parser, it would need to be full evaluator, especially that it requires to know about the called module.

leandrocp

leandrocp

Hey some updates for Autumn that might be worth checking out:

  • Added support to include a header element wrapping the code block
  • Added support to highlight specific lines using a CSS class or style (depends on the formatter)
  • Added more languages and a Random button on the demo site https://autumnus.dev
  • Functions to “bring your own theme” - you can edit themes and load at runtime
  • Added more than 10 new themes and updated a few more
  • Added new languages

Full changelog at Changelog — Autumn v0.7.0

josevalim

josevalim

Creator of Elixir

Really smart to use tree sitter for this. :slight_smile:

Last Post!

leandrocp

leandrocp

I should say that highlighted lines have default styles inherited from the CursorLine highlight group from Neovim themes, which is actually implemented by crates.io: Rust Package Registry

Where Next?

Popular in Announcing Top

tmbb
I’ve published the first version of my Makeup library. It’s a syntax highlighter for Elixir in the spirit of Pygments, Currently it highl...
New
OvermindDL1
I created a new library (rather I pulled out a couple files from my big project), it manages an operating system PID file for the BEAM. ...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44532 311
New
mindok
What is ContEx? A pure Elixir server-side data plotting/charting library outputting SVG. It has nice barcharts in particular and works g...
New
fuelen
Hey folks! Want to present a toolkit for writing command-line user interfaces. It provides a convenient interface for colorizing text...
New
zoltanszogyenyi
Hey everyone :waving_hand: Excited to join this forum - I am one of the founders and current project maintainers of a popular and open-s...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New

Other popular topics Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49084 226
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement