Dante

screenshot of Dante

A sane rich text parsing and styling library.

Overview

Dante is a versatile text parser designed to streamline the generation of Spannable from raw input, initially focused on HTML. The project, previously developed under the name Pause and now open-sourced, aims to expand its capabilities to accommodate various input formats, including Markdown in future releases. As the first iteration of Dante is available, users can expect enhancements to the API that will improve functionality and user experience over time.

As a developer or enthusiast looking for a straightforward solution to parse text, Dante provides a solid foundation. Its capacity to handle HTML parsing efficiently, coupled with the potential for additional input types, sets the stage for a powerful text manipulation tool.

Features

  • Multi-Type Support: Currently supports HTML with plans to include Markdown and other formats in future releases, enhancing versatility.
  • Ease of Use: Simple API allows for easy integration into projects, providing quick access to text parsing functionalities.
  • Custom Image Loading: Users can implement the ImgLoader interface to efficiently handle image loading from network requests, tailored to their needs.
  • Asynchronous Processing: Encourages parsing operations to be executed outside of the main thread, ensuring smooth performance and responsiveness in applications.
  • Modular Implementation: The project's architecture allows developers to easily extend functionality by implementing the Parser interface for different text styles.
  • Open Source: Being an open-source project encourages community contributions and improvements, fostering a collaborative development environment.