awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jin-yufeng avatar

jin-yufeng/mp-html

0
View on GitHub↗
3,718 stars·527 forks·JavaScript·MIT·21 viewsjin-yufeng.github.io/mp-html↗

Mp Html

mp-html is a component for rendering and editing HTML content within various mini program environments, such as WeChat and Alipay. It functions as an HTML to mini program parser that converts HTML tags, tables, and SVGs into compatible elements for mobile mini program frameworks.

The project includes a cross-platform rich text editor for modifying HTML content and a renderer capable of displaying Markdown syntax and LaTeX formulas through modular extensions.

Its broader capabilities cover media interaction management, anchor-based navigation, and user interaction controls for text selection and copying. The system also manages content state and utilizes specialized syntax parsing to handle code block highlighting.

Features

  • HTML Content Renderers - Renders a wide variety of HTML tags, including tables, videos, and SVGs, across different mini-program platforms.
  • HTML to Mini Program Renderers - Provides a component that parses and renders HTML tags, tables, and SVGs into layouts compatible with various mini program environments.
  • Mini Program Development - Enables a consistent rich text and media experience across various mini-program ecosystems and uni-app.
  • Rich Text Editors - Provides a full-featured visual editor for modifying HTML content directly within the mini-program environment.
  • Mini Program Text Editors - Provides an interactive interface to modify HTML content directly within a mini-program application.
  • Platform Component Mapping - Translates generic HTML tags into platform-specific UI elements required by different mini-program runtime environments.
  • Mini Program Renderers - Renders formatted documentation, mathematical formulas, and code blocks specifically for mini-program environments.
  • Media & Interactivity - Manages interactive media elements, including image previews, video playback, and lazy loading logic.
  • Mini Program Math Renderers - Renders LaTeX formulas and Markdown syntax using modular extensions within a mini-program component.
  • Abstract Syntax Tree Parsing - Implements an abstract syntax tree parser to convert HTML strings into a structure suitable for mini-program component mapping.
  • Modular Plugin Extensions - Provides a modular plugin system for integrating third-party extensions to handle specialized syntax like LaTeX and Markdown.
  • Code Syntax Highlighting - Supports rendering of Markdown and LaTeX formulas, as well as code block syntax highlighting.
  • View Hierarchies - Generates nested view hierarchies and text elements derived from a parsed HTML tree structure.
  • CSS-to-Native Style Translators - Translates CSS-like inline styles from HTML into native layout properties for mini-program components.
  • Interaction Event Routing - Routes native touch and click events from the mini-program host environment to custom JavaScript event handlers.
  • UI and Functional Components - Rich text component for rendering and editing HTML.

Star history

Star history chart for jin-yufeng/mp-htmlStar history chart for jin-yufeng/mp-html

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Mp Html

Similar open-source projects, ranked by how many features they share with Mp Html.
  • markdoc/markdocmarkdoc avatar

    markdoc/markdoc

    8,060View on GitHub↗

    Markdoc is a documentation content framework that extends standard Markdown with custom tags, typed schemas, and reusable components, parsing content into an abstract syntax tree and rendering it as React elements or HTML. It provides a structured authoring system where documents are processed through an AST-based pipeline, enabling validation, transformation, and flexible output generation. The framework distinguishes itself through a schema-driven validation pipeline that checks document structure and attribute values against defined rules, and a pluggable renderer architecture that accepts

    TypeScriptauthoringdocumentationmarkdoc
    View on GitHub↗8,060
  • didi/mpxdidi avatar

    didi/mpx

    3,905View on GitHub↗

    MPX is a cross-platform framework designed to build applications for multiple mini-program ecosystems and the web from a single codebase. It utilizes a static transpilation pipeline to transform source code into platform-specific bundles, employing a single-file component system that encapsulates templates, logic, and styles. The framework provides a reactive state management system that automatically synchronizes application data with the user interface through computed properties and watchers. The project distinguishes itself through a robust build-time toolchain that supports sub-package p

    JavaScript
    View on GitHub↗3,905
  • twigphp/twigtwigphp avatar

    twigphp/Twig

    8,363View on GitHub↗

    Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It functions as a secure template language that generates HTML output by combining dynamic data with reusable layouts. The system emphasizes security through a focus on preventing cross-site scripting attacks via automatic output escaping and content sanitization. To ensure execution efficiency, it compiles templates into optimized PHP code and utilizes a caching mechanism to bypass parsing on subsequent requests. The engine provides comprehensive tools for template composition

    PHPphptemplate-enginetemplate-language
    View on GitHub↗8,363
  • wechat-miniprogram/kbonewechat-miniprogram avatar

    wechat-miniprogram/kbone

    4,914View on GitHub↗

    kbone is an isomorphic frontend framework and web-to-mini-program adapter. It serves as a cross-platform UI bridge and DOM simulation library that allows web applications to run inside WeChat Mini Programs by simulating a browser environment for JavaScript code. The project enables the migration of web UI frameworks into restricted environments by providing simulated browser interfaces and APIs. It translates standard web components and routing into native mini program elements and page transitions, allowing a single codebase to function as both a standard website and a mini program. The fra

    JavaScript
    View on GitHub↗4,914
See all 30 alternatives to Mp Html→

Frequently asked questions

What does jin-yufeng/mp-html do?

mp-html is a component for rendering and editing HTML content within various mini program environments, such as WeChat and Alipay. It functions as an HTML to mini program parser that converts HTML tags, tables, and SVGs into compatible elements for mobile mini program frameworks.

What are the main features of jin-yufeng/mp-html?

The main features of jin-yufeng/mp-html are: HTML Content Renderers, HTML to Mini Program Renderers, Mini Program Development, Rich Text Editors, Mini Program Text Editors, Platform Component Mapping, Mini Program Renderers, Media & Interactivity.

What are some open-source alternatives to jin-yufeng/mp-html?

Open-source alternatives to jin-yufeng/mp-html include: markdoc/markdoc — Markdoc is a documentation content framework that extends standard Markdown with custom tags, typed schemas, and… didi/mpx — MPX is a cross-platform framework designed to build applications for multiple mini-program ecosystems and the web from… twigphp/twig — Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It… wechat-miniprogram/kbone — kbone is an isomorphic frontend framework and web-to-mini-program adapter. It serves as a cross-platform UI bridge and… icindy/wxparse — wxParse is a rich text parser and renderer specifically designed for the WeChat Mini Program ecosystem. It transforms… assemble/assemble — Assemble is a static site generator and build pipeline system that compiles markdown, templates, and data into static…