Skip to content

Commit

Permalink
Merge pull request #2724 from lriggle-strib/master
Browse files Browse the repository at this point in the history
Add divs around individual tags
  • Loading branch information
Gerrit0 authored Oct 3, 2024
2 parents 81fec38 + 2445045 commit 40d1cec
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/lib/output/themes/default/partials/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ export function commentTags(context: DefaultThemeRenderContext, props: Reflectio

return (
<>
<h4 class="tsd-anchor-link">
<a id={anchor} class="tsd-anchor"></a>
{name}
{anchorIcon(context, anchor)}
</h4>
<Raw html={context.markdown(item.content)} />
<div class={`tsd-tag-${name}`}>
<h4 class="tsd-anchor-link">
<a id={anchor} class="tsd-anchor"></a>
{name}
{anchorIcon(context, anchor)}
</h4>
<Raw html={context.markdown(item.content)} />
</div>
</>
);
})}
Expand Down

0 comments on commit 40d1cec

Please sign in to comment.