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