Skip to content

feat: render comment tags as separate sections#86

Merged
barjin merged 10 commits into
masterfrom
feat/render-tags-as-sections
Jun 22, 2026
Merged

feat: render comment tags as separate sections#86
barjin merged 10 commits into
masterfrom
feat/render-tags-as-sections

Conversation

@barjin

@barjin barjin commented Jun 22, 2026

Copy link
Copy Markdown
Member

Closes #85.

The @-prefixed block tags were rendered as a bold definition list, which the issue flagged as visually unpleasant. This renders each block tag as its own labelled section, mirroring the existing @since layout: a muted uppercase label followed by the content.

When a @deprecated or @see tag carries no message, a sensible default is shown so the section is never empty; any user-supplied message is used as-is. The @example tag is no longer rendered.

@barjin barjin self-assigned this Jun 22, 2026
barjin added 6 commits June 22, 2026 10:15
Extract CommentTags and render it after params/returns in signatures,
after type declarations in member declarations, and after structural
panels in top-level reflections. Drop the labeled heading in favour
of the same italic style used by @SInCE.
@barjin barjin force-pushed the feat/render-tags-as-sections branch from 0b43ee3 to c889b47 Compare June 22, 2026 09:34
@barjin

barjin commented Jun 22, 2026

Copy link
Copy Markdown
Member Author
before after
image image

@barjin barjin requested a review from B4nan June 22, 2026 09:38
@barjin barjin merged commit a30225a into master Jun 22, 2026
3 checks passed
@barjin barjin deleted the feat/render-tags-as-sections branch June 22, 2026 11:12
@barjin barjin restored the feat/render-tags-as-sections branch June 22, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve rendering of TSDoc tags

3 participants