From 35e86d427e1f6d1f6bb7851dd5cdd30eeef1b98e Mon Sep 17 00:00:00 2001 From: Liam Morland <lkmorlan@uwaterloo.ca> Date: Mon, 15 Mar 2021 17:22:39 -0400 Subject: [PATCH] Coding standards: Wrap long lines in markdown files --- source/_patterns/01-global/06-break-hints/break-hints.md | 3 ++- .../04-components/card/card--feature/card--feature.md | 2 +- source/_patterns/04-components/card/card.md | 6 +++--- .../04-components/facts-and-figures/facts-and-figures.md | 2 +- source/_patterns/04-components/tag-list/tag-list.md | 3 ++- source/_patterns/04-components/tag/tag.md | 3 ++- .../04-components/teaser/teaser--blog/teaser--blog.md | 6 +++--- .../04-components/teaser/teaser--event/teaser--event.md | 6 +++--- .../04-components/teaser/teaser--news/teaser--news.md | 6 +++--- source/_patterns/04-components/teaser/teaser.md | 8 ++++---- .../territorial-statement/territorial-statement.md | 3 ++- 11 files changed, 26 insertions(+), 22 deletions(-) diff --git a/source/_patterns/01-global/06-break-hints/break-hints.md b/source/_patterns/01-global/06-break-hints/break-hints.md index 83dea849..f05cb914 100644 --- a/source/_patterns/01-global/06-break-hints/break-hints.md +++ b/source/_patterns/01-global/06-break-hints/break-hints.md @@ -2,4 +2,5 @@ title: Break Hints --- ## Quick use - {% include '@global/06-break-hints/break-hints.twig' %} in your template to use the break hints while you do development + {% include '@global/06-break-hints/break-hints.twig' %} in your template to use + the break hints while you do development diff --git a/source/_patterns/04-components/card/card--feature/card--feature.md b/source/_patterns/04-components/card/card--feature/card--feature.md index 7ff33156..4a2eace2 100644 --- a/source/_patterns/04-components/card/card--feature/card--feature.md +++ b/source/_patterns/04-components/card/card--feature/card--feature.md @@ -10,7 +10,7 @@ __Variables:__ * date: [string] Date of the card. * read_more: [boolean] Whether to show the read more link. * footer: [string] Footer content of the card. -* sources: [string] URL for the srcset of picture tag inside of responsive-image. +* sources: [string] URL for the srcset of picture tag inside responsive-image. * img_element: [string] Url for the fallback image. * alt: [string] Alt text to the image used in the picture tag or fallback image. * content: [string] Content of the card. diff --git a/source/_patterns/04-components/card/card.md b/source/_patterns/04-components/card/card.md index 7dbd56e4..86fb1b46 100644 --- a/source/_patterns/04-components/card/card.md +++ b/source/_patterns/04-components/card/card.md @@ -22,14 +22,14 @@ __Variables:__ * short-datetime * read_more: [boolean] Whether to show the read more link. * footer: [string] Footer content of the card. -* sources: [string] URL for the srcset of picture tag inside of responsive-image. +* sources: [string] URL for the srcset of picture tag inside responsive-image. * img_element: [string] Url for the fallback image. * alt: [string] Alt text to the image used in the picture tag or fallback image. * content: [string] Content of the card. * social_media: [array] Social media icons that can be included to card - * text + * text * url -* social_media_placement: [string] Class name for where social media is placed" +* social_media_placement: [string] Class name for where social media is placed" * tags: [array] List of taxonomy tags * type: [string] Type of the tag, it will add class ".tag--type". * size: [string] Size of the tag, it will add class ".tag--size" diff --git a/source/_patterns/04-components/facts-and-figures/facts-and-figures.md b/source/_patterns/04-components/facts-and-figures/facts-and-figures.md index 3bc5dd4f..72d00ac6 100644 --- a/source/_patterns/04-components/facts-and-figures/facts-and-figures.md +++ b/source/_patterns/04-components/facts-and-figures/facts-and-figures.md @@ -8,7 +8,7 @@ __Variables:__ * id: [string] Unique id of the fact and figure. * show: [boolean] Show the bubbles on the fact and figure. * theme: [string] The theme/faculty to be applied to the fact and figure. - * text_align: [string] Which way the text on the fact and figure is to be align + * text_align: [string] Which way the text is to be aligned. * details: [array] Details about the text of the fact and figure. * icon/text: [string] Either the string of text or the URL of the icon. * type: [string] The type of text (big, medium, small or icon). diff --git a/source/_patterns/04-components/tag-list/tag-list.md b/source/_patterns/04-components/tag-list/tag-list.md index a5ea69a2..a46932e2 100644 --- a/source/_patterns/04-components/tag-list/tag-list.md +++ b/source/_patterns/04-components/tag-list/tag-list.md @@ -8,7 +8,8 @@ __Variables:__ * list: [array] List items. Each item is an object containing: * url: [string] URL of the item. * title: [string] Title of the item. - * faculty: [string] One of the faculty variables wrapping the tag will make background color change + * faculty: [string] One of the faculty variables wrapping the tag will make + background color change * org-ahs * org-art * org-eng diff --git a/source/_patterns/04-components/tag/tag.md b/source/_patterns/04-components/tag/tag.md index ca358fb3..e4ad446f 100644 --- a/source/_patterns/04-components/tag/tag.md +++ b/source/_patterns/04-components/tag/tag.md @@ -12,7 +12,8 @@ __Variables:__ * normal * url: [string] URL of the tag. * title: [string] Title of the tag. -* faculty: [string] One of the faculty variables wrapping the tag will make background color change +* faculty: [string] One of the faculty variables wrapping the tag will make + background color change * org-ahs * org-art * org-eng diff --git a/source/_patterns/04-components/teaser/teaser--blog/teaser--blog.md b/source/_patterns/04-components/teaser/teaser--blog/teaser--blog.md index fb8c0b2f..4fa12aa6 100644 --- a/source/_patterns/04-components/teaser/teaser--blog/teaser--blog.md +++ b/source/_patterns/04-components/teaser/teaser--blog/teaser--blog.md @@ -20,12 +20,12 @@ __Variables: (same form card)__ * medium-date-short-month * short-date * short-datetime -* sources: [string] URL for the srcset of picture tag inside of responsive-image. +* sources: [string] URL for the srcset of picture tag inside responsive-image. * img_element: [string] Url to source of fall back image. * alt: [string] Alt text to the image used in the picture tag or fallback image. -* content: [string] Content of the card. +* content: [string] Content of the card. * tags: [array] List of taxonomy tags * type: [string] Type of the tag, it will add class ".tag--type". * size: [string] Size of the tag, it will add class ".tag--size" * url: [string] URL of the tag. - * title: [string] Title of the tag. + * title: [string] Title of the tag. diff --git a/source/_patterns/04-components/teaser/teaser--event/teaser--event.md b/source/_patterns/04-components/teaser/teaser--event/teaser--event.md index 8f52e1ac..a9988838 100644 --- a/source/_patterns/04-components/teaser/teaser--event/teaser--event.md +++ b/source/_patterns/04-components/teaser/teaser--event/teaser--event.md @@ -20,12 +20,12 @@ __Variables: (same form card)__ * medium-date-short-month * short-date * short-datetime -* sources: [string] URL for the srcset of picture tag inside of responsive-image. +* sources: [string] URL for the srcset of picture tag inside responsive-image. * img_element: [string] Url to source of fall back image. * alt: [string] Alt text to the image used in the picture tag or fallback image. -* content: [string] Content of the card. +* content: [string] Content of the card. * tags: [array] List of taxonomy tags * type: [string] Type of the tag, it will add class ".tag--type". * size: [string] Size of the tag, it will add class ".tag--size" * url: [string] URL of the tag. - * title: [string] Title of the tag. + * title: [string] Title of the tag. diff --git a/source/_patterns/04-components/teaser/teaser--news/teaser--news.md b/source/_patterns/04-components/teaser/teaser--news/teaser--news.md index 7695f608..64466f7d 100644 --- a/source/_patterns/04-components/teaser/teaser--news/teaser--news.md +++ b/source/_patterns/04-components/teaser/teaser--news/teaser--news.md @@ -20,12 +20,12 @@ __Variables: (same form card)__ * medium-date-short-month * short-date * short-datetime -* sources: [string] URL for the srcset of picture tag inside of responsive-image. +* sources: [string] URL for the srcset of picture tag inside responsive-image. * img_element: [string] Url to source of fall back image. * alt: [string] Alt text to the image used in the picture tag or fallback image. -* content: [string] Content of the card. +* content: [string] Content of the card. * tags: [array] List of taxonomy tags * type: [string] Type of the tag, it will add class ".tag--type". * size: [string] Size of the tag, it will add class ".tag--size" * url: [string] URL of the tag. - * title: [string] Title of the tag. + * title: [string] Title of the tag. diff --git a/source/_patterns/04-components/teaser/teaser.md b/source/_patterns/04-components/teaser/teaser.md index aabe2649..7432452b 100644 --- a/source/_patterns/04-components/teaser/teaser.md +++ b/source/_patterns/04-components/teaser/teaser.md @@ -21,16 +21,16 @@ __Variables: (same form card)__ * short-datetime * read_more: [boolean] Whether to show the read more link. * footer: [string] Footer content of the card. -* sources: [string] URL for the srcset of picture tag inside of responsive-image. +* sources: [string] URL for the srcset of picture tag inside responsive-image. * img_element: [string] Url for the fallback image. * alt: [string] Alt text to the image used in the picture tag or fallback image. * content: [string] Content of the card. * social_media: [array] Social media icons that can be included to card - * text + * text * url -* social_media_placement: [string] Class name for where social media is placed" +* social_media_placement: [string] Class name for where social media is placed" * tags: [array] List of taxonomy tags * type: [string] Type of the tag, it will add class ".tag--type". * size: [string] Size of the tag, it will add class ".tag--size" * url: [string] URL of the tag. - * title: [string] Title of the tag. + * title: [string] Title of the tag. diff --git a/source/_patterns/04-components/territorial-statement/territorial-statement.md b/source/_patterns/04-components/territorial-statement/territorial-statement.md index ea10bafc..ac35092c 100644 --- a/source/_patterns/04-components/territorial-statement/territorial-statement.md +++ b/source/_patterns/04-components/territorial-statement/territorial-statement.md @@ -4,4 +4,5 @@ title: Territorial statement --- __Variables:__ -* modifier_classes: Choose "black or white" to determine the background color of the statement" +* modifier_classes: Choose "black or white" to determine the background color of + the statement" -- GitLab