{"repo":"leandrocp/mdex","free":true,"listed":false,"github":"https://github.com/leandrocp/mdex","clone":"git clone https://github.com/leandrocp/mdex.git","description":"Markdown for Elixir. Fast, Extensible, Phoenix-native. AI-ready. Built on top of comrak, ammonia, and lumis.","language":"Elixir","stars":444,"topics":["markdown","elixir","html","rust","commonmark","gfm","xml","json","ammonia","comrak"],"license":"MIT","category":"productivity","readme_excerpt":"MDEx Fast and Extensible Markdown for Elixir. Features - Fast - Compliant with the CommonMark spec - Plugins - Formats: - Markdown (CommonMark) - HTML - Phoenix HEEx - JSON - XML - Quill Delta - Slack mrkdwn - Floki-like Document AST - Req-like Document pipeline API - GitHub Flavored Markdown - GitLab Flavored Markdown - Discord Flavored Markdown (Partial) - Wiki-style links - Phoenix HEEx components and expressions - Streaming incomplete fragments - Emoji shortcodes - Built-in Syntax Highlighting with Lumis or Syntect - Code Block Decorators - HTML sanitization - MD Sigil for Markdown, HTML, HEEx, JSON, XML, and Quill Delta Plugins - mdex gfm - Enable GitHub Flavored Markdown (GFM) - mdex mermaid - Render Mermaid diagrams in code blocks - mdex katex - Render math formulas using KaTeX - mdex video embed - Privacy-respecting video embeds from code blocks - mdex custom heading id - Custom heading IDs for markdown headings - mdex mermex - Render Mermaid diagrams server-side using Mermex (Rust NIF) - mdex multiline cells - Multi-line cells in Markdown tables with inline/block Markdown rendering Installation Add :mdex dependency: Or use Igniter: Usage Convert to HTML Syntax Highlighting Syntax highlight code blocks using either Lumis or Syntect, for example to use Lumis: GitHub Flavored Markdown (GFM) Using the :html multi themes syntax highlighting formatter is not required but you get light/dark using it. elixir spawn(fn - send(current, {self(), 1 + 2}) end) Sigils Streaming Exa","default_branch":null,"files":null,"tree":[],"storefront":"/r/leandrocp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leandrocp/mdex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}