Haimantika Mitra
·newWe have added new improvements to Hashnode docs that will help you build effective documentation.
Here's what we shipped last week:
→ Customization options on button element
→ Deep linking support, and
→ Bug fixes
Last week we shipped an update where you could add buttons to your docs, this week we added the capability to customise the button colour.
Here’s how:
Go to your docs editor.
Type /button
and a button component will appear. Click on it to add a button.
Choose the colors you want the button to display in light mode and dark mode. We will automatically add a matching text color based on the selected background color for the light or dark theme.
The video below shows how you can do it:
We have added a feature that lets you link to a heading within the same draft of your docs. To use deep linking, ensure the sections you want to link to include Heading 2 or Heading 3. Then, type /link
in the editor and type # to see the available headings you can link to.
Here’s how you can do it:
We have made a fix that sets a minimum height for table cells if no content is present.
Fixed a bug with the card component that prevented cards from rendering if no description was present.
Fixed a bug with RSS that would result in stale content at times.
Made UI updates to the "Copy Code" button on docs.
That's all for this week. We hope these updates will enhance your documentation process on Hashnode.
P.S. - We are offering our Docs by Hashnode startup license for free to all open-source projects. Read more about it here.