# sbfkcel/towxml

微信小程序HTML、Markdown渲染库

Repository: https://github.com/sbfkcel/towxml
Canonical: https://ross.abutalabs.com/products/towxml
Homepage: https://github.com/sbfkcel/towxml/wiki
Language: JavaScript
License Family: other
Last push: 2026-04-14T05:40:20+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 3387, "days_push": 141, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2895, forks 356 (observed 2026-08-28T04:07:28.662179+00:00)

## What it is
Towxml is a JavaScript library that converts HTML and Markdown into WXML (WeChat Mini Program markup) for rendering rich content inside WeChat mini programs. Version 3.0 adds ECharts charts, LaTeX math formulas, yuml flowcharts, syntax highlighting, emoji, theming, and on-demand builds to reduce bundle size.

## Use cases
- render markdown in a wechat mini program
- display html content inside wxml pages
- show latex math formulas in a mini program
- render echarts charts in wechat mini program articles
- syntax highlight code blocks in mini program blog posts
- render rich text from a cms in a wechat app
- use towxml in uniapp projects

## When to choose
- you are building a WeChat mini program that needs to render HTML or Markdown content
- you need charts, math formulas, or code highlighting inside mini program pages
- you want a customizable, themeable rich-content renderer with event binding support

## When to avoid
- you are targeting platforms other than WeChat mini programs or uniapp
- you need a general-purpose web HTML/Markdown renderer
- you require an officially licensed or maintained dependency - the repo has no explicit license file and docs are marked beta

## Facets
- artifact type: library
- maturity: active
- function: parser, templating, ui-components, markdown, data-visualization
- domain: frontend, web-development, mobile-development
- platform: cross-platform
- tags: wechat-miniprogram, wxml, html-rendering, markdown-rendering, latex, echarts, syntax-highlighting, uniapp, natural-language-processing, wechat, javascript

## Member repositories
- sbfkcel/towxml (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.662179+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:16.697036+00:00, confidence not recorded.
  - readme: https://github.com/sbfkcel/towxml (fetched 2026-08-28T04:07:28.662179+00:00, sha 55fb7890f2fa)
  - homepage: https://github.com/sbfkcel/towxml/wiki (fetched 2026-08-29T09:50:34.708754+00:00, sha e035c1ac943d)
  - registry_npm: https://registry.npmjs.org/towxml (fetched 2026-08-29T09:50:34.717659+00:00, sha d6a3a2401726)
- Data as of 2026-08-30T08:39:29.467469+00:00.
