taxonomy icon indicating copy to clipboard operation
taxonomy copied to clipboard

Wrap heading text in anchor tag and fixed subheading-anchor style

Open FranciscoMoretti opened this issue 2 years ago • 1 comments

Clickable heading anchors

Headings were not linked previously because the anchor tag didn't wrap the header text.

By using the wrap behavior, the headers are clickable. Fixes #94

Headings anchor indicators

The css class subheading-anchor was not present in the project. I've created a simple style for subheading anchors. Feel free to suggest a different one.

To define the tailwind style in contentlayer.config.js I added that file to tailnwind.config.js content.

Info:

FranciscoMoretti avatar Apr 14 '23 19:04 FranciscoMoretti

Someone is attempting to deploy a commit to a Personal Account owned by @shadcn on Vercel.

@shadcn first needs to authorize it.

vercel[bot] avatar Apr 14 '23 19:04 vercel[bot]