We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently parseReactDoc is capable of returning variant and link to the CodeConnectJSON
parseReactDoc
variant
link
CodeConnectJSON
code-connect/cli/src/react/parser.ts
Lines 910 to 911 in cfed2bf
It would be nice to also be able to specify variant and link in the Raw template.
code-connect/cli/src/commands/connect.ts
Lines 190 to 209 in cfed2bf
Allow usage of frontmatter to specify more data for the CodeConnectJSON
--- url: https://www.figma.com/file/your-file-id/Component?node-id=123 component: Button variant: type: primary has outline: true links: - name: Awesome Document url: https://example.com --- const figma = require('figma') const instance = figma.selectedInstance
it can be kept forward compatible too. yaml parsing can be enabled if the file starts with "---\n".
"---\n"
See POC in #263
The text was updated successfully, but these errors were encountered:
feat: support component, variant and links for raw file
8e2607a
Related to figma#262
b0088e3
e7ab659
Successfully merging a pull request may close this issue.
Describe the feature you'd like:
Currently
parseReactDoc
is capable of returningvariant
andlink
to theCodeConnectJSON
code-connect/cli/src/react/parser.ts
Lines 910 to 911 in cfed2bf
It would be nice to also be able to specify
variant
andlink
in the Raw template.code-connect/cli/src/commands/connect.ts
Lines 190 to 209 in cfed2bf
Suggestion
Allow usage of frontmatter to specify more data for the CodeConnectJSON
it can be kept forward compatible too. yaml parsing can be enabled if the file starts with
"---\n"
.See POC in #263
The text was updated successfully, but these errors were encountered: