-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated Doc? Missing LinkResolverInterface #29
Comments
The parser is handled by the Delivery SDK, what are you trying to achieve? |
I fetched an entry through the delivery API and try to parse a markdown fiel... |
`public function __construct(DeliveryClient $client) public function showNews($id)
|
If you're using a recent (v4) version of the SDK, the parsing will be handled for you. When accessing fields from an entry, they will be correctly represented as node objects. You only need to care about the rendering part 🙂 |
AH! Great. But i can't find it in the docs, correct? |
I can't remember to be honest, I'll have to double-check 😅 you're welcome! |
Briliant. That did the trick ;) |
If i try
$parser = new Contentful\RichText\Parser();
i get a missing linkresolver error. Any updated on how to use the parser in PHP (here laravel)
The text was updated successfully, but these errors were encountered: