Towxml

screenshot of Towxml

微信小程序HTML、Markdown渲染库

Overview:

Towxml is a rendering library that converts HTML and Markdown into WeiXin Markup Language (WXML) for WeChat mini programs. It addresses the issue of directly rendering Markdown and HTML in WeChat mini programs. The latest version, Towxml 3.0, offers a smaller size, faster speed, support for unlimited levels of parsing, and various new features compared to version 2.x. It is recommended for use in WeChat mini programs.

Features:

  • Support for echarts chart
  • Support for LaTex mathematical formulas
  • Support for yuml flowcharts
  • Support for on-demand build
  • Support for code syntax highlighting and line number display
  • Support for emoji expressions
  • Support for various formatting elements like superscript, subscript, underline, strikethrough, tables, videos, images, etc.
  • Support for typographer character replacement
  • Support for multiple theme switching
  • Support for Markdown TodoList
  • Support for event binding for extending functionality

Summary:

Towxml 3.0 is a powerful tool for converting HTML and Markdown into WXML for WeChat mini programs. With enhanced features, improved performance, and support for various elements and functionalities, it offers a comprehensive solution for rendering content effectively. Users are encouraged to explore the beta documentation and follow the installation guidelines provided to make the most out of Towxml 3.0.