From e3f5a61a39b887e6195b1bcb06912c7533260b5b Mon Sep 17 00:00:00 2001 From: Caleb Porzio Date: Wed, 6 Mar 2019 12:22:59 -0500 Subject: [PATCH] Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b06be7..5c3083c 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,18 @@ GitDown::parse($markdown); GitDown::parseAndCache($markdown); ``` -Optionally, add the `@gitdown` snippet to your template's `` section for GitHub markdown/code-syntax styling. +Optionally, add the `@gitdown` snippet to your template's `` section, and a `.markdown-body` class to a wrapper element, for GitHub markdown/code-syntax styling. ```html [...] @gitdown + +
+ {!! GitDown::parseAndCache($conent) !!} +
+ ``` ## Authenticating With GitHub