Find a way to specify options for the syntax
- Vorherrschende Sprache
- TypeScript
- Sterne
- 90
- Forks
- 9
- Ø Merge
- 1 T. 9 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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'.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100