a2ui-project / a2ui-project/a2ui

Consider removing the `variant` property on `Text` in favor of just using Markdown

Offen
#999 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
P2 sprint ready type: feature/enhancement
Vorherrschende Sprache
TypeScript
Sterne
16.4k
Forks
1.3k
Ø Merge
2 T. 13 Std.
Gemergte PRs (30 T.)
134

Beschreibung

Currently, Markdown allows you to specify H1, H2, H3 etc through `# Heading 1` etc, but we also redundantly provide a `variant` parameter for this.

How about we remove this redundancy? It's awkward to implement also. What if we have a `h1` variant Text, with `#### Subtitle` in it? Which level is that heading?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.