diff --git a/composer.json b/composer.json index ed8bfd9..d4e5740 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,12 @@ { "require": { "mnapoli/front-yaml": "^1.6", - "michelf/php-markdown": "^1.8" + "michelf/php-markdown": "^1.8", + "erusev/parsedown-extra": "^0.7.1" + }, + "autoload": { + "psr-4": { + "Wiki\\": "src/" + } } } diff --git a/composer.lock b/composer.lock index bf2ce88..db8dcdc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f693531fd51bd92297c17d6a290a6f16", + "content-hash": "13a716a34a8e3fc115a70dcb60a721c4", "packages": [ { "name": "erusev/parsedown", @@ -52,6 +52,50 @@ ], "time": "2018-03-08T01:11:30+00:00" }, + { + "name": "erusev/parsedown-extra", + "version": "0.7.1", + "source": { + "type": "git", + "url": "https://github.com/erusev/parsedown-extra.git", + "reference": "0db5cce7354e4b76f155d092ab5eb3981c21258c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/erusev/parsedown-extra/zipball/0db5cce7354e4b76f155d092ab5eb3981c21258c", + "reference": "0db5cce7354e4b76f155d092ab5eb3981c21258c", + "shasum": "" + }, + "require": { + "erusev/parsedown": "~1.4" + }, + "type": "library", + "autoload": { + "psr-0": { + "ParsedownExtra": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "An extension of Parsedown that adds support for Markdown Extra.", + "homepage": "https://github.com/erusev/parsedown-extra", + "keywords": [ + "markdown", + "markdown extra", + "parsedown", + "parser" + ], + "time": "2015-11-01T10:19:22+00:00" + }, { "name": "michelf/php-markdown", "version": "1.8.0", diff --git a/index.php b/index.php index 017ee16..e3818d3 100755 --- a/index.php +++ b/index.php @@ -1,7 +1,7 @@
a digital community for socializing, learning, and making cool stuff
tilde.team is a shared system that provides an inclusive, non-commercial space for teaching, learning, practicing and enjoying the social medium of unix.
-i created this tilde after hearing about paul ford's tilde.club. when i was unable to join due to the waitlist, i decided to create my own tilde.
++ tilde.team is a shared system that provides an inclusive, + non-commercial space for teaching, learning, practicing and + enjoying the social medium of unix. +
++ i created this tilde after hearing about paul ford's + tilde.club. when i was unable + to join due to the waitlist, i decided to create my own tilde. +
+thanks for stopping by!
-tilde.team is a founding member of tildeverse.org, which is a collaborative effort among several other tilde servers.
-hosting and domains are paid out-of-pocket. tilde.team will always be free to use. however, if you are able and willing to pitch in, you can donate here.
+ ++ tilde.team is a founding member of tildeverse.org, + which is a collaborative effort among several + other tilde servers. +
++ hosting and domains are paid out-of-pocket. tilde.team will always + be free to use. however, if you are able and willing to pitch in, + you can donate here. +
+=$parsed->getContent()?>
=$yml["date"]?> - /">~=$yml["author"]?>