---
layout: default
title: Overview
---
# Overview
[](https://twitter.com/colinodell)
[](https://packagist.org/packages/league/commonmark)
[](https://packagist.org/packages/league/commonmark)
[](LICENSE)
[](https://github.com/thephpleague/commonmark/actions?query=workflow%3ATests+branch%3Amain)
[](https://scrutinizer-ci.com/g/thephpleague/commonmark/code-structure)
[](https://scrutinizer-ci.com/g/thephpleague/commonmark)
{{ site.data.project.highlights.description }}
## Installation
This library can be installed via Composer:
```bash
composer require league/commonmark
```
See the [installation](/2.2/installation/) section for more details.
## Basic Usage
Simply instantiate the converter and start converting some Markdown to HTML!
```php
use League\CommonMark\CommonMarkConverter;
$converter = new CommonMarkConverter();
echo $converter->convert('# Hello, World!')->getContent();
//