Skip to content

Commit 0438dad

Browse files
committed
docs: sync plugin card descriptions with package.json
The plugins reference page's `LinkCard` descriptions predate the July pass that normalized every plugin's npm `description` to imperative mood, so after #3019 (which correctly reused the current descriptions for its three new cards) the page mixed the two voices. Sync the five stale cards with each package's `package.json`: `markdown-shortcuts`, `one-line`, `paste-link`, and `sdk-value` move to the imperative form, and `typeahead-picker` picks up its rewritten description ("Build typeahead pickers (emoji, mentions, slash commands)..."). The `paste-link` card also gains the trailing period every other card on the page has. The remaining four cards already matched.
1 parent 173074e commit 0438dad

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

apps/docs/src/content/docs/editor/reference/plugins.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,22 @@ function LogTextPlugin() {
7373
/>
7474
<LinkCard
7575
title="@portabletext/plugin-markdown-shortcuts"
76-
description="Adds helpful Markdown shortcuts to the editor."
76+
description="Add helpful Markdown shortcuts to the editor."
7777
href="https://github.com/portabletext/editor/tree/main/packages/plugin-markdown-shortcuts"
7878
/>
7979
<LinkCard
8080
title="@portabletext/plugin-one-line"
81-
description="Restricts the Portable Text Editor to a single line."
81+
description="Restrict the Portable Text Editor to a single line."
8282
href="https://github.com/portabletext/editor/tree/main/packages/plugin-one-line"
8383
/>
8484
<LinkCard
8585
title="@portabletext/plugin-paste-link"
86-
description="Allows pasting links in the Portable Text Editor"
86+
description="Allow pasting links in the Portable Text Editor."
8787
href="https://github.com/portabletext/editor/tree/main/packages/plugin-paste-link"
8888
/>
8989
<LinkCard
9090
title="@portabletext/plugin-sdk-value"
91-
description="Connects a Portable Text Editor with a Sanity document using the SDK."
91+
description="Connect a Portable Text Editor with a Sanity document using the SDK."
9292
href="https://github.com/portabletext/editor/tree/main/packages/plugin-sdk-value"
9393
/>
9494
<LinkCard
@@ -98,7 +98,7 @@ function LogTextPlugin() {
9898
/>
9999
<LinkCard
100100
title="@portabletext/plugin-typeahead-picker"
101-
description="Generic typeahead picker infrastructure for the Portable Text Editor."
101+
description="Build typeahead pickers (emoji, mentions, slash commands) for the Portable Text Editor."
102102
href="https://github.com/portabletext/editor/tree/main/packages/plugin-typeahead-picker"
103103
/>
104104
<LinkCard

0 commit comments

Comments
 (0)