Tag:syntax-highlighting
All the articles with the tag "syntax-highlighting".
Zero-Flicker Syntax Highlighting in Jetpack Compose: How Snapshot Span Preservation Works
A deep dive into the snapshot span preservation algorithm in compose-highlight that enables zero-flicker live code editing and streaming LLM responses in Jetpack Compose.
Extending Syntax Highlighting Library to Support Streaming Responses from LLMs
Extending the Compose Highlight library to support real-time streaming LLM responses with snapshot span preservation and newline-based highlight triggers.
Better Kotlin syntax highlighting on Zensical with Shiki
I replaced default Kotlin highlighting on my Zensical site with Shiki for cleaner tokens, better modern syntax support, and smooth light/dark theming.
Syntax Highlighting on Android - Highlight.js as a Native Compose Engine
A source code syntax highlighting library for Jetpack compose that leverages existing Highlight.js in a hidden WebView and converts the output to native AnnotatedString for real text selection and accessibility.
Syntax Highlighting on Android - Bringing Shiki Engine to Compose
How I explored Shiki-quality syntax highlighting in Jetpack Compose - server-driven via Cloudflare Workers and on-device via TextMate grammars, no WebView needed.
Source code syntax highlighting on Android - Taking full control
Tips on how to take full control and create your own custom-view to add syntax highlighting support in your Android app.