4 个仓库
Programmatic structural modification of a markdown abstract syntax tree while preserving hierarchy.
Distinct from Syntax Tree Construction: Focuses on modifying the tree for document analysis/transformation rather than JIT optimization or shell commands.
Explore 4 awesome GitHub repositories matching software engineering & architecture · Markdown AST Manipulation. Refine with filters or upvote what's useful.
Markdig 是一个用于 .NET 应用的高性能 Markdown 处理器,可将 Markdown 文本转换为 HTML 或其他目标格式。它是一个符合 CommonMark 标准的解析器和可扩展引擎,能够将 Markdown 转换为可搜索和可操作的抽象语法树。 该库提供了一个框架,通过解析器和渲染器的模块化流水线来添加自定义语法和渲染逻辑。它支持原生提前编译(AOT)和修剪(trimming),以最大限度地减小二进制体积。 功能包括生成带有自定义属性和样式的结构化 HTML、提取用于静态站点处理的 YAML 前置元数据(front matter),以及将内容转换为纯文本。该引擎还涵盖了排版增强、数学公式准备和自动化链接格式化。 该处理器包含精确的源映射以跟踪字符跨度,并采用输出流和嵌套深度限制来管理性能和稳定性。
Provides programmatic structural modification of a markdown abstract syntax tree while preserving hierarchy.
Racket 是一种通用的、多范式编程语言,属于 Lisp 家族,专为语言创建而设计。它作为一个语言工作台,通过灵活的宏和模块系统,为设计和实现自定义编程语言提供了一个平台。 该系统的特色在于提供了一套全面的语义工程套件,允许构建专门的语言子集和教育层。它包括用于自定义语言设计的工具,如词法分析器和解析器生成,以及在读取时定义模块扩展规则和动态语言选择的能力。 该项目提供了一个集成开发环境,内置编辑器、可视化调试器和软件包管理器。其功能范围扩展到涵盖 2D 图形渲染、二进制数据处理、SQL 和演绎数据库集成以及图形用户界面构建的通用标准库。 该环境支持将源代码编译为独立的二进制可执行文件以进行分发。
Provides programmatic structural modification of Markdown document, block, and footnote structures before rendering.
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
Performs structural changes to the document tree while preserving parent-child relationships.
The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming, and serializing markdown documents. It serves as a comprehensive document processing architecture that translates between raw text markup and structured node representations in both directions. The capability surface covers syntax parsing for extended markdown features, custom syntax extensions, metadata blocks, and embedded expressions, alongside document serialization that converts syntax trees back into standard and extended markup formats. It includes node modeling and val
Parses markdown text into structured nodes and serializes trees back into markup for programmatic document manipulation.