Skip to content

Commit

Permalink
[Data Liberation] Add Markdown parsing libraries (#2092)
Browse files Browse the repository at this point in the history
Adds a forked version of the markdown parsing libraries required by the
upcoming Markdown importer. We need out own fork for PHP 7.2
compatibility. The downgrade process was performed semi-automatically
via Rector.

This PR adds the following libraries:

* `league/commonmark`
* `webuni/front-matter`

There are no testing steps here. This PR only adds new code without
modifying the existing one.

A part of:

* #2080
* #1894
  • Loading branch information
adamziel authored Dec 17, 2024
1 parent 6ba37ca commit 27d799a
Show file tree
Hide file tree
Showing 462 changed files with 41,573 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/playground/data-liberation-markdown/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "wordpress/data-liberation-markdown",
"prefer-stable": true,
"require": {
"league/commonmark": "^2.5",
"webuni/front-matter": "^2.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"autoload": {
"classmap": [
"src/"
]
},
"authors": [
{
"name": "WordPress Contributors",
"email": "[email protected]"
}
]
}
Loading

0 comments on commit 27d799a

Please sign in to comment.