@zkat__ ("kat marchán") replied to a tweet by @zkat__:
This is the code needed now to render the snippet in the original tweet in this thread. You don't have to do anything special anymore: you just give it the spans you actually want to highlight, and miette automatically grabs the text to show, including context lines. :)