a2ui-project / a2ui-project/a2ui

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

Open
#999 2 comments 1 reaction 0 assignees View on GitHub
P2 sprint ready type: feature/enhancement
Dominant language
TypeScript
Stars
16.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
134

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.