Skip to content

Commit 27d799a

Browse files
authored
[Data Liberation] Add Markdown parsing libraries (#2092)
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
1 parent 6ba37ca commit 27d799a

File tree

462 files changed

+41573
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

462 files changed

+41573
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "wordpress/data-liberation-markdown",
3+
"prefer-stable": true,
4+
"require": {
5+
"league/commonmark": "^2.5",
6+
"webuni/front-matter": "^2.0"
7+
},
8+
"config": {
9+
"optimize-autoloader": true,
10+
"preferred-install": "dist",
11+
"allow-plugins": {
12+
"dealerdirect/phpcodesniffer-composer-installer": true
13+
}
14+
},
15+
"autoload": {
16+
"classmap": [
17+
"src/"
18+
]
19+
},
20+
"authors": [
21+
{
22+
"name": "WordPress Contributors",
23+
"email": "[email protected]"
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)