From 2d8bcc3adda6d2fbc2ab2e247baeccf15a9fcec6 Mon Sep 17 00:00:00 2001 From: Jason Ng <116290832+jason490@users.noreply.github.com> Date: Tue, 28 Nov 2023 10:49:56 -0500 Subject: [PATCH] Added installation intructions --- README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4cf8067..520439f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,25 @@ To report issues for Submitty/Markdown, please file them under the [Submitty/Sub - Apply league/commonmark as an Twig Extension ## Installation -In progress +```json +{ + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/Submitty/Markdown.git" + } + ], + "require":{ + "league/commonmark": "2.4.0", + "submitty/markdown": "version" + } +} +``` +```bash +composer install +# or +composer update +``` ## Example ```php @@ -34,9 +52,4 @@ twig->addExtension(new MarkdownExtension($engine)); ## See Documentation Documentation in Progress - -[Developing]() - -[Usages]() - [General Documentation](submitty.org)