From 41144dddb55e7007d0589340c5af5d1db766c9aa Mon Sep 17 00:00:00 2001 From: Chi Date: Fri, 5 Jan 2024 08:27:42 +0000 Subject: [PATCH] Clean-up documentation --- docs/cheat-sheet.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/cheat-sheet.md b/docs/cheat-sheet.md index b414e3a..0f80693 100644 --- a/docs/cheat-sheet.md +++ b/docs/cheat-sheet.md @@ -4,8 +4,8 @@ ```twig {{ drupal_view('who_s_new', 'block_1') }} ``` -Specify additional parameters which map to contextual filters you have configured in your view: ```twig +{# Specify additional parameters which map to contextual filters you have configured in your view. #} {{ drupal_view('who_s_new', 'block_1', arg_1, arg_2, arg_3) }} ``` @@ -121,7 +121,6 @@ options, which is documented here: https://api.drupal.org/api/drupal/core!lib!Dr {{ drupal_image('public://ocean.jpg', 'thumbnail', {loading: 'lazy'}) }} {{ drupal_image('public://ocean.jpg', 'thumbnail', {loading: 'eager'}) }} -{# Render responsive image. #} {# Render responsive image (using a named argument). #} {{ drupal_image('public://ocean.jpg', 'wide', responsive=true) }} ```