diff --git a/README.md b/README.md index 2de9f29..03a21ec 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,7 @@ A `pd` shortcut filter is also available: The filters also work in a single-line mode, where the text that’s passed in will not include wrapping `

` tags: ```jinja -

- {{ entry.myPullquoteField|parsedown('line') }} -

+

{{ entry.title|parsedown('line') }}

``` ## Plugin API @@ -40,5 +38,5 @@ Other plugins can take advantage of Parsedown using the provided API: ```php $parsedText = craft()->parsedown->parseText($entry->myBodyField); -$parsedLine = craft()->parsedown->parseLine($entry->myPullquoteField); +$parsedLine = craft()->parsedown->parseLine($entry->title); ```