figma / code-connect

A tool for connecting your design system components in code with your design system in Figma
MIT License
702 stars 53 forks source link

Support for Twig #77

Open sarahjean opened 1 week ago

sarahjean commented 1 week ago

Twig https://twig.symfony.com/ is the templating language for Symfony, Drupal and also many Wordpress projects using this framework https://github.com/timber/timber

It's a 'curly braces' templating language similar to Handlebars, Mustache, etc.

You can use it in Storybook, which many folks using the above frameworks already do, for example: https://dev.to/gromnan/storybook-with-server-side-twig-components-easy-43ii

jyyang0 commented 1 week ago

Hey, thanks for your interest in Code Connect!

We’re planning to add support for more frameworks in the near future. We can’t say yet exactly which frameworks or when, but it’s helpful for us to hear from the community to help us decide where to focus, so please feel free to add a 👍 to this issue if you are also interested in support for Twig. I will leave this issue open to track interest.

Code Connect is also designed to be extensible, and the community will be able to create their own plugins to support frameworks and languages which we don’t natively support. More details about how to build these plugins will be coming soon!

sarahjean commented 5 days ago

@jyyang0 I will keep an eye out for information about building plugins!