Skip to content

Commit 24ef296

Browse files
author
figma-bot
committed
Update docs
1 parent 245eacf commit 24ef296

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/custom.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Please refer to the general [documentation](https://github.com/figma/code-connec
1313

1414
#### Publish and Parse commands
1515

16-
When using a custom parser, the `publish` and `parse` commands operate on all the files specified in the `includes` field and excluding those in the `excludes` field of the `figma.config.json`. It then runs the `parserCommand` supplied in the config, passing an object of type `ParseRequestPayload` by stdin. The `parserCommand` then parses the files and generates Code Connect documents, including template code using the [Template API](https://github.com/figma/code-connect/tree/main/docs/template_api.md), then outputs a return object of type `ParseResponsePayload` via stdout. If the `publish` command was chosen, then these are published to Figma.
17-
16+
When using a custom parser, the `publish` and `parse` commands operate on all the files specified in the `includes` field and excluding those in the `excludes` field of the `figma.config.json`. It then runs the `parserCommand` supplied in the config, passing an object of type `ParseRequestPayload` by stdin. The `parserCommand` then parses the files and generates Code Connect documents, including template code using the [Templates API](https://github.com/figma/code-connect/tree/main/docs/templates_api.md), then outputs a return object of type `ParseResponsePayload` via stdout. If the `publish` command was chosen, then these are published to Figma.
1817
```
1918
npx figma connect publish --config figma.config.json --token <auth token>
2019
```

0 commit comments

Comments
 (0)