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
erusev avatar

erusev/parsedown

0
View on GitHub↗
15,049 stars·1,141 forks·PHP·MIT·17 viewsparsedown.org↗

Parsedown

Parsedown is a PHP library that converts Markdown text and common extensions into structured HTML output for web browsers. It functions as a Markdown to HTML converter that processes both block-level and inline elements to generate valid web content.

The library includes a PHP HTML sanitizer designed to escape HTML and scripting vectors. This security layer provides input sanitization to prevent attacks when processing untrusted user-generated content.

Features

  • Markdown to HTML Converters - Transforms Markdown plaintext markup into structured HTML for display in web browsers.
  • Markdown Parsers - Provides an engine to interpret standard Markdown syntax and convert it into structured HTML layouts.
  • Input Sanitization - Cleans and validates user-provided Markdown data to prevent HTML injection and XSS attacks.
  • Rendered Content Sanitization - Cleans rendered Markdown output to prevent cross-site scripting attacks when displaying untrusted text.
  • Output Escaping - Provides functions to convert special characters into safe formats to prevent injection attacks in the rendered HTML.
  • HTML Sanitization Utilities - Provides utilities to sanitize and escape HTML and scripting vectors within untrusted user input.
  • Markdown Parsers - Extracting and formatting only the inline elements of a text string while ignoring block level structures.
  • Dynamic Markup Rendering - Generates web pages from Markdown files or user submissions to separate content from presentation.
  • Recursive Descent Parsers - Utilizes a recursive descent parsing engine to resolve nested Markdown elements into a structured document.
  • Tokenizers - Uses regular expressions to tokenize Markdown syntax and identify structural elements.
  • Parser State Tracking - Maintains internal flags to track transitions between different Markdown modes like lists and blockquotes.
  • Two-Stage Parsing - Implements a two-stage parsing architecture that first identifies block-level structures and then processes inline elements.
  • Markup and CSS Parsers - Fast and simple Markdown parsing library.

Star history

Star history chart for erusev/parsedownStar history chart for erusev/parsedown

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. 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

Projects sharing features with Parsedown

These projects share indexed features with Parsedown. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • lepture/mistunelepture avatar

    lepture/mistune

    2,978View on GitHub↗

    Mistune is a pure Python implementation of a Markdown to HTML parser. It functions as a library that converts Markdown formatted text into HTML markup for rendering in web browsers. The project is designed as an extensible Markdown renderer, utilizing a modular system that allows for the customization of how Markdown elements are transformed into HTML via a pluggable renderer. Its capabilities cover a range of conversion tasks, including static site generation, dynamic content rendering, and the creation of custom documentation workflows.

    Pythonmarkdown
    View on GitHub↗2,978
  • markdown-it/markdown-itmarkdown-it avatar

    markdown-it/markdown-it

    21,575View on 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
    View on GitHub↗21,575
  • evilstreak/markdown-jsevilstreak avatar

    evilstreak/markdown-js

    7,679View on GitHub↗

    markdown-js is a JavaScript markdown parser and converter that transforms markdown text into HTML output. It functions as both a library and a command line interface tool for converting documents. The project is centered on an abstract syntax tree representation, allowing markdown to be parsed into a structured tree for programmatic inspection and modification before the final rendering process. This intermediate representation enables custom markup processing and document transformations. The toolset covers programmatic document parsing, static site generation, and CLI-based file processing

    JavaScript
    View on GitHub↗7,679
  • xoofx/markdigxoofx avatar

    xoofx/markdig

    5,127View on 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
    View on GitHub↗5,127
Compare all 30 related projects→

Frequently asked questions

What does erusev/parsedown do?

Parsedown is a PHP library that converts Markdown text and common extensions into structured HTML output for web browsers. It functions as a Markdown to HTML converter that processes both block-level and inline elements to generate valid web content.

What are the main features of erusev/parsedown?

The main features of erusev/parsedown are: Markdown to HTML Converters, Markdown Parsers, Input Sanitization, Rendered Content Sanitization, Output Escaping, HTML Sanitization Utilities, Dynamic Markup Rendering, Recursive Descent Parsers.

Which projects share features with erusev/parsedown?

Projects with overlapping indexed features include: lepture/mistune — Mistune is a pure Python implementation of a Markdown to HTML parser. It functions as a library that converts Markdown… markdown-it/markdown-it — markdown-it is a token-based Markdown compiler and CommonMark-compliant parser that converts structured plaintext… xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… evilstreak/markdown-js — markdown-js is a JavaScript markdown parser and converter that transforms markdown text into HTML output. It functions… twigphp/twig — Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It… python-markdown/markdown — This project is a Python library and command-line tool designed to convert Markdown text and files into structured…