Browse Source

使用joyqi/hyper-down代替parsedown处理markdown

baijunyao 7 years ago
parent
commit
6107ed363b
2 changed files with 41 additions and 3 deletions
  1. 1 1
      composer.json
  2. 40 2
      composer.lock

+ 1 - 1
composer.json

@@ -15,7 +15,7 @@
     "require": {
         "php": ">=7.0.0",
         "appstract/laravel-opcache": "^1.4",
-        "erusev/parsedown": "^1.6",
+        "joyqi/hyper-down": "dev-master",
         "fideloper/proxy": "~3.3",
         "intervention/image": "^2.4",
         "laravel/framework": "5.5.*",

+ 40 - 2
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "46d9555f73cb7f4e21c75eb56984ed2f",
+    "content-hash": "b7b0cb4863f8abebf53d380a2852e6f0",
     "packages": [
         {
             "name": "appstract/laravel-opcache",
@@ -662,6 +662,42 @@
             "time": "2015-04-20T18:58:01+00:00"
         },
         {
+            "name": "joyqi/hyper-down",
+            "version": "dev-master",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/SegmentFault/HyperDown.git",
+                "reference": "cd01057c7f019a9571825857b617502da0e64156"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://files.phpcomposer.com/files/SegmentFault/HyperDown/cd01057c7f019a9571825857b617502da0e64156.zip",
+                "reference": "cd01057c7f019a9571825857b617502da0e64156",
+                "shasum": ""
+            },
+            "require": {
+                "php": ">=5.4.0"
+            },
+            "type": "library",
+            "autoload": {
+                "psr-4": {
+                    "HyperDown\\": "./"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "BSD"
+            ],
+            "authors": [
+                {
+                    "name": "joyqi",
+                    "email": "joyqi@segmentfault.com"
+                }
+            ],
+            "description": "A light weight markdown parser library",
+            "time": "2017-12-13T09:57:52+00:00"
+        },
+        {
             "name": "laravel/framework",
             "version": "v5.5.27",
             "source": {
@@ -4344,7 +4380,9 @@
     ],
     "aliases": [],
     "minimum-stability": "stable",
-    "stability-flags": [],
+    "stability-flags": {
+        "joyqi/hyper-down": 20
+    },
     "prefer-stable": false,
     "prefer-lowest": false,
     "platform": {