fuelen
HTML2Text provides a simple and efficient way to extract readable plain text from HTML content. It leverages the power of Rust’s html2text crate to deliver fast HTML parsing and text extraction while maintaining the logical structure and readability of the content.
- Hex: html2text | Hex
- Docs: README — HTML2Text v0.3.0
- GitHub:
Trending in Announcing
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries.
offset-based pagination with...
New
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
I released Doggo, a collection of unstyled Phoenix components.
https://github.com/woylie/doggo
Features
Unstyled Phoenix components....
New
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hello
Published a new library - ProcessHub!
ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
Other Trending Topics
Building Real-Time AI Agents with Elixir - Kimutai Kiprotich | ElixirConf EU 2026
https://www.youtube.com/watch?v=XSXk0YE2New
Comments...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
This showed up on my feed.. anyone heard of it? Just hype?
Ox Alpha is a reasoning model designed for coding, sustained ag...
New
Hey folks,
I just published a post about Hologram’s funding and where the project goes next - the short version:
Curiosum as Main Spons...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
fuelen
html2text v0.2.0 released — breaking changes and a cleaner API!
This version introduces a new, more consistent API with proper error handling and an optional keyword list for configuration.
What changed
Before (
v0.1.x):integeror:infinity)Now (
v0.2.0):convert/2now returns{:ok, text}or{:error, reason}convert!/2is a new function that raises on error (for convenience)fuelen
v0.3.0 is out with two major additions: annotated rich text output and an inspectable HTML container.
Rich text (
convert_rich/2)Returns structured
{text, [annotation]}tuples instead of formatted strings, so you can build your own renderer (Slack, Discord, email, etc.):Annotations:
:strong,:emphasis,:strikeout,:code,{:link, url},{:image, src},{:preformat, bool},{:colour, {r, g, b}},{:bg_colour, {r, g, b}}.CSS colour extraction is supported via
use_doc_css: true(parses<style>tags and inline styles).HTML container (
HTML2Text.HTML)A struct that renders HTML as formatted text when inspected in IEx — bold, italic, clickable links (OSC 8), CSS true color, and more:
Short content stays inline:
#HTML2Text.HTML<bold>.to_string/1returns the original HTML.Other changes
empty_img_modeoption::ignore(default),{:replace, text}, or:filenamehtml2textRust crate from 0.15.1 to 0.16.7 (rowspan support, bug fixes)HTML2Text.Errorcustom exception for bang functions