awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Python-Markdown avatar

Python-Markdown/markdown

0
View on GitHub↗
4,215 星标·900 分支·Python·BSD-3-Clause·5 次浏览python-markdown.github.io↗

Markdown

This project is a Python library and command-line tool designed to convert Markdown text and files into structured HTML fragments. It functions as a Markdown-to-HTML converter and parser that transforms piped text or source files into web-ready documents.

The project is an extensible text processor featuring a pluggable API for defining custom inline and block syntax. This modular framework allows for the registration of specialized syntax extensions, such as tables and footnotes, and provides a system for managing runtime configuration settings.

The conversion process covers multilingual text support for Unicode languages and a normalized approach to list behavior. It includes a command-line interface for automated batch processing and document conversion.

Features

  • Markdown Conversions - Provides a command-line utility to transform Markdown source files and text into structured HTML fragments.
  • Markdown to HTML Converters - Transforms Markdown plaintext markup into structured HTML for web display, including tables and footnotes.
  • Markdown Parsers - Provides a Python library that interprets Markdown syntax using a customizable pipeline and extension system.
  • Extensible Frameworks - Provides a modular framework for bundling processors and patterns into reusable classes to manage custom logic.
  • Extensible Plugin Architectures - Provides an extensible plugin architecture for registering custom block and inline patterns into the parsing engine.
  • Pluggable Parsing Engines - Offers a pluggable parsing engine that allows external libraries to register as handlers for custom Markdown patterns.
  • Pluggable Text Processing Engines - Implements a modular framework for defining custom inline and block syntax through a pluggable API.
  • Syntax Extensions - Features a plugin architecture for adding specialized formatting rules like tables and footnotes to the Markdown specification.
  • Markdown - Offers a pluggable API to add specialized syntax and custom formatting rules to the Markdown parser.
  • Regex Pattern Matching - Utilizes regular expression pattern matching to identify and extract inline and block syntax elements from source text.
  • Command-Line Document Processors - Provides a command line interface to automate the batch conversion of Markdown files into HTML fragments.
  • Markdown Processors - Provides a command line interface for transforming Markdown source files into HTML without writing code.
  • Parser Behavior Settings - Provides customizable settings that allow developers to modify the parser's internal operational logic and behavior.
  • Modular Configuration Loading - Supports loading external modules and applying configuration overrides from JSON or YAML files to customize text processing.
  • Text Conversion Pipeline Sequencing - Implements a priority-based registration system to strictly control the order of processors in the conversion pipeline.
  • Markdown File Processors - Ships a utility to read Markdown from files or standard input and write the resulting HTML to a destination.
  • Internal Tree Representations - Uses an internal tree representation to store the parsed Markdown structure before serializing it to HTML.
  • Numeric Priority Orderings - Employs numeric priority orderings to determine the deterministic execution sequence of text processors and post-processors.
  • Extension Configuration Management - Implements a system for defining and overriding configuration values specific to modular extensions at runtime.
  • Block Level Parsing Rules - Includes block-level parsing rules for identifying and processing large structural elements like tables separated by blank lines.
  • Multi-Stage Content Processing - Implements a multi-stage content processing pipeline that separates pre-processing, block parsing, inline parsing, and post-processing.
  • Document Tree Mutations - Allows for programmatic manipulation of the generated element tree to adjust document structure before serialization.
  • Custom Inline Element Definitions - Ships a mechanism to replace matched text patterns with new element tree nodes for customized inline formatting.
  • Multilingual Support - Implements comprehensive handling of Unicode-supported languages and bi-directional text for global compatibility.
  • Document and File Processing - Implements the standard Markdown specification in Python.

Star 历史

python-markdown/markdown 的 Star 历史图表python-markdown/markdown 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Markdown 的开源替代方案

相似的开源项目,按与 Markdown 的功能重合度排序。
  • waylan/python-markdownwaylan 的头像

    waylan/Python-Markdown

    4,215在 GitHub 上查看↗

    Python-Markdown is a library that converts Markdown text into HTML or XHTML documents. It functions as a Unicode text processor, supporting all Unicode-based languages and bi-directional text to ensure global compatibility. The project is an extensible markdown processor that allows developers to add custom syntax and formatting rules through a plugin architecture. This system enables the registration of new parsing rules, the modification of parser behavior, and the implementation of custom document syntax such as tables and footnotes without altering the core source code. The tool provides

    Python
    在 GitHub 上查看↗4,215
  • markdown-it/markdown-itmarkdown-it 的头像

    markdown-it/markdown-it

    21,575在 GitHub 上查看↗

    markdown-it is a token-based Markdown compiler and CommonMark-compliant parser that converts structured plaintext markup into HTML. It functions as an extensible markup processor designed to transform text into browser-ready content while managing security and preventing cross-site scripting. The project is distinguished by a modular plugin system that allows for the extension of parsing capabilities and the addition of custom syntax, such as footnotes, tables, or emojis. It utilizes a two-stage tokenization process to break documents into structural tokens before rendering them into final HT

    JavaScriptcommonmarkjavascriptmarkdown
    在 GitHub 上查看↗21,575
  • lunet-io/markdiglunet-io 的头像

    lunet-io/markdig

    5,257在 GitHub 上查看↗

    Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other target formats. It is a CommonMark compliant parser and extensible engine that can transform Markdown into a searchable and manipulatable abstract syntax tree. The library provides a framework for adding custom syntax and rendering logic through a modular pipeline of parsers and renderers. It supports native ahead-of-time compilation and trimming to minimize binary size. Capabilities include the generation of structured HTML with custom attributes and styling, the extraction

    C#
    在 GitHub 上查看↗5,257
  • xoofx/markdigxoofx 的头像

    xoofx/markdig

    5,127在 GitHub 上查看↗

    Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a configurable pipeline. It functions as a CommonMark compliant parser and an abstract syntax tree generator that transforms markdown into a hierarchical tree of block and inline nodes with precise source location mapping. The project is distinguished by a decoupled renderer architecture that separates parsing logic from output generation, enabling the transformation of the syntax tree into non-HTML formats such as LaTeX or XAML. It also serves as a lossless markdown processor by t

    C#commonmarkcommonmark-parsingcsharp
    在 GitHub 上查看↗5,127
查看 Markdown 的所有 30 个替代方案→

常见问题解答

python-markdown/markdown 是做什么的?

This project is a Python library and command-line tool designed to convert Markdown text and files into structured HTML fragments. It functions as a Markdown-to-HTML converter and parser that transforms piped text or source files into web-ready documents.

python-markdown/markdown 的主要功能有哪些?

python-markdown/markdown 的主要功能包括:Markdown Conversions, Markdown to HTML Converters, Markdown Parsers, Extensible Frameworks, Extensible Plugin Architectures, Pluggable Parsing Engines, Pluggable Text Processing Engines, Syntax Extensions。

python-markdown/markdown 有哪些开源替代品?

python-markdown/markdown 的开源替代品包括: waylan/python-markdown — Python-Markdown is a library that converts Markdown text into HTML or XHTML documents. It functions as a Unicode text… markdown-it/markdown-it — markdown-it is a token-based Markdown compiler and CommonMark-compliant parser that converts structured plaintext… lunet-io/markdig — Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other… xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… remarkjs/react-markdown — react-markdown is a React markdown renderer that transforms markdown strings into React elements for display in a user… russross/blackfriday — Blackfriday is a Go library for parsing and converting Markdown text into HTML, LaTeX, and other structured formats.…