From 28d84fdbd80ec27e9bf3e7317bd4e9c01b49455c Mon Sep 17 00:00:00 2001 From: Lucie <25330882+lihbr@users.noreply.github.com> Date: Mon, 17 May 2021 12:20:29 +0200 Subject: [PATCH] docs: fix typo in code snippets (#275) Co-authored-by: lihbr --- docs/content/en/4.providers/prismic.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/content/en/4.providers/prismic.md b/docs/content/en/4.providers/prismic.md index 3f56beba9..beee3bc42 100644 --- a/docs/content/en/4.providers/prismic.md +++ b/docs/content/en/4.providers/prismic.md @@ -7,9 +7,7 @@ category: Providers Integration between [Prismic](https://prismic.io/docs) and the image module. -No specific configuration is required for Prismic support. You just need to specify `provider: 'prismic'` in your configuration to make it the default, or pass it directly when you need it, for example: -```html - +No specific configuration is required for Prismic support. You just need to specify `provider: 'prismic'` in your configuration to make it the default: ```js{}[nuxt.config.js] export default { @@ -19,8 +17,14 @@ export default { } ``` - +You can also pass it directly to your component when you need it, for example: + +```html[*.vue] + +``` + + Prismic allows content writer to manipulate images through its UI (cropping, rezising, etc.). To preserve that behavior this provider does not strip query parameters coming from Prismic. Instead it only overrides them when needed, keeping developers in control. - +