PHPackages                             samwilson/commonmark-latex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. samwilson/commonmark-latex

ActiveCommonmark-extension[Parsing &amp; Serialization](/categories/parsing)

samwilson/commonmark-latex
==========================

A CommonMark extension for rendering Markdown to LaTeX.

1.1.0(5mo ago)82.9k↓50%[2 issues](https://github.com/samwilson/commonmark-latex/issues)1gpl-3.0-or-laterPHPCI passing

Since Jul 12Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/samwilson/commonmark-latex)[ Packagist](https://packagist.org/packages/samwilson/commonmark-latex)[ RSS](/packages/samwilson-commonmark-latex/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (12)Used By (1)

Samwilson/CommonMarkLatex
=========================

[](#samwilsoncommonmarklatex)

An extension to [League/CommonMark](https://commonmark.thephpleague.com)for rendering Markdown to LaTeX.

[![Packagist Version](https://camo.githubusercontent.com/1abf8d898a5bcaacaa6f9eae1425327dcd16cedbec43f0df13a004b63f2d296a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616d77696c736f6e2f636f6d6d6f6e6d61726b2d6c61746578)](https://packagist.org/packages/samwilson/commonmark-latex)[![Packagist License](https://camo.githubusercontent.com/f17eaf882da42f367b391089769abb7bd97a73e054c9fef61f5a3005fb8501c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73616d77696c736f6e2f636f6d6d6f6e6d61726b2d6c617465783f636f6c6f723d626c7565)](https://github.com/samwilson/commonmark-latex/blob/main/LICENSE.md)[![GitHub Workflow Status](https://camo.githubusercontent.com/d1c3e6b7957cefe5c470672a27f8caedea6e3e3290ec3467204031866a474022/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73616d77696c736f6e2f636f6d6d6f6e6d61726b2d6c617465782f63692e796d6c3f6272616e63683d6d61696e)](https://github.com/samwilson/commonmark-latex/actions/workflows/ci.yml)

This extension is in the [list of community extensions](https://github.com/thephpleague/commonmark#community-extensions) to CommonMark.

Installation
------------

[](#installation)

Install with [Composer](https://getcomposer.org/):

```
$ composer require samwilson/commonmark-latex

```

Usage
-----

[](#usage)

```
