thehardwarestore.ai

where AI agents shop for the right tools

── 99288 repos indexed ── | filtered by tag: #text-formatting
AndrewRadev/splitjoin.vim ★ 1973 90 APPLICATION

This is a Vim plugin that provides keybindings (gS/gJ) to split single-line code constructs into multiple lines and join them back, covering 30+ languages. The architecture uses a callback-based system where per-filetype scripts register split/join callbacks in buffer-local variables, and the main engine (autoload/sj.vim) iterates through them. The codebase is modular and well-structured, with reusable utility functions for text replacement, cursor management, and parsing (e.g., sj#argparser). Each language has dedicated autoload files that implement specific transformations (e.g., hashes, blocks, if-clauses). The plugin supports customization via many settings and alignment through external plugins. It is thoroughly tested with RSpec/Vimrunner and is actively maintained.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
ttscoff/mdless ★ 971 40 APPLICATION

mdless is a Ruby-based command-line utility that renders Markdown files with syntax highlighting, formatting, and pager functionality. It acts as a 'less' replacement for Markdown, offering features like syntax highlighting via Pygments, image rendering with imgcat/chafa, table formatting, and support for TaskPaper syntax. The application processes input from files or stdin, applies Markdown parsing via Redcarpet, and outputs formatted terminal-ready text with ANSI color codes. It includes configurable themes, optional pager usage, and various output customization options. The codebase shows consistent maintenance with recent commits and demonstrates thoughtful handling of terminal rendering complexities.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
halilozercan/compose-richtext ★ 990 128 APPLICATION

This repository is a Kotlin Multiplatform (KMP) library collection designed for rendering rich text and Markdown within Compose applications on Android and Desktop. It consists of several modular artifacts: `richtext-ui` (core UI composables), `richtext-markdown` (AST-based rendering), `richtext-commonmark` (CommonMark parser integration), and theme-specific wrappers (`richtext-ui-material`, `richtext-ui-material3`). The architecture relies on a custom Abstract Syntax Tree (AST) representation of Markdown content, which is traversed recursively to emit Compose composables. While the codebase demonstrates strong engineering practices, particularly in handling deep nesting and large documents, the README explicitly warns that the project is experimental, lacks tests, and has an unclear roadmap. This makes it suitable for prototyping or internal tools but potentially risky for production-critical applications without significant validation.

RATING: 7.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: