Find a way to specify options for the syntax
- Lingua principale
- TypeScript
- Stelle
- 90
- Fork
- 9
- Merge medio
- 1g 9m
- PR unite (30g)
- 3
Descrizione
We may want to support names other than `css`, for example if someone names theirs `style` or something:
```ts
style`.foo { color: blue; }`;
```
not entirely sure if there's a way to pass options to a postcss custom syntax, though. needs investigation
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look at the PostCSS custom syntax API to see if options can be passed. Check the existing syntax implementation in the source code, likely in a file like src/syntax.ts. Investigate how the current tag name 'css' is detected and whether it can be made configurable. Determine what changes are needed to allow users to specify custom tag names like 'style'.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100