Skip to content

Commit

Permalink
Edit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanqing committed Apr 5, 2024
1 parent b4a51a8 commit 82b9103
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/website/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ See the [recipe for configuring relaunch buttons](<%- query('page', 'recipes').u

(*`"dynamic-page"`*)

*Optional.* Set this to `"dynamic-page"` if your plugin is compatible with Figma’s [dynamic page loading feature](https://www.figma.com/plugin-docs/accessing-document/#loading-pages-and-nodes). If this is not set, running the plugin will trigger the loading of additional pages in a file with multiple pages.
*Optional.* Set this to `"dynamic-page"` if your plugin is compatible with Figma’s [dynamic page loading feature](https://figma.com/plugin-docs/accessing-document/#loading-pages-and-nodes). If this is not set, running the plugin will trigger the loading of additional pages in a file with multiple pages.

### `networkAccess`

Expand All @@ -243,11 +243,13 @@ See the [recipe for configuring relaunch buttons](<%- query('page', 'recipes').u
- **`"label"`** (*`string`*) — *Required.* A label for the code language displayed in the Figma UI.
- **`"value"`** (*`string`*) — *Required.* A specific code language.

See the [example](https://figma.com/plugin-docs/manifest/#codegenlanguages).

### `codegenPreferences`

(*`Array<CodegenPreference>`*)

*Optional.* Preferences for your codegen plugin. See [the example](https://www.figma.com/plugin-docs/manifest/#codegenpreferences).
*Optional.* Preferences for your codegen plugin. See the [example](https://figma.com/plugin-docs/manifest/#codegenpreferences).

### `enablePrivatePluginApi`

Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ boolean

Loads the fonts used in all the text nodes within the `nodes` array. [This
function must be called before modifying any property of a text node that
may cause the rendered text to change.](https://www.figma.com/plugin-docs/working-with-text/#loading-fonts)
may cause the rendered text to change.](https://figma.com/plugin-docs/working-with-text/#loading-fonts)

***Parameters***

Expand Down

0 comments on commit 82b9103

Please sign in to comment.