From 798bda682e8b16c2114e467cd39146e2c1e47bad Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 5 Nov 2014 09:19:58 +0100 Subject: [PATCH 1/2] Update README.md updated installation instructions. fixes #242 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c987de4..196854e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,12 @@ Better Markdown Parser in PHP ### Installation -Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown). +Download and include [Parsedown.php] or install the [composer package] by running the following command: + + composer require erusev/parsedown + +[Parsedown.php]: https://raw.githubusercontent.com/erusev/parsedown/master/Parsedown.php "The Parsedown class file" +[composer package]: https://packagist.org/packages/erusev/parsedown "The Parsedown package on packagist.org" ### Example From 0c0ed38290ca282486d7f0bbbd547b80d5e26b71 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Fri, 6 Apr 2018 16:13:29 +0100 Subject: [PATCH 2/2] Don't encourage downloading from master --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 196854e..cdf0167 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,17 @@ Better Markdown Parser in PHP * [Markdown Extra extension](https://github.com/erusev/parsedown-extra) ### Installation - -Download and include [Parsedown.php] or install the [composer package] by running the following command: +#### Composer +Install the [composer package] by running the following command: composer require erusev/parsedown -[Parsedown.php]: https://raw.githubusercontent.com/erusev/parsedown/master/Parsedown.php "The Parsedown class file" +#### Manual +1. Download the "Source code" from the [latest release] +2. Include `Parsedown.php` + [composer package]: https://packagist.org/packages/erusev/parsedown "The Parsedown package on packagist.org" +[latest release]: https://github.com/erusev/parsedown/releases/latest "The latest release of Parsedown" ### Example