undocs
                                
                                
                                
                                    undocs copied to clipboard
                            
                            
                            
                        fix(steps): simplify logic
๐ Linked issue
#106
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
 - [X] ๐ Bug fix (a non-breaking change that fixes an issue)
 - [ ] ๐ Enhancement (improving an existing functionality like performance)
 - [ ] โจ New feature (a non-breaking change that adds functionality)
 - [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
 - [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
 
๐ Description
Resolves #106
In this PR, I make the component more generic so it can work for all cases.
๐ Checklist
- [X] I have linked an issue or discussion.
 - [X] I have updated the documentation accordingly.
 
Deploying undocs with ย 
 ย Cloudflare Pages
| Latest commit: | 
5e73926
 | 
| Status: | ย โ ย Deploy successful! | 
| Preview URL: | https://9429231e.undocs.pages.dev | 
| Branch Preview URL: | https://fix-steps.undocs.pages.dev | 
@cpreston321 do you remember if there was any issues that PR was in draft state? (thinking to merge and try to see if there is any..)
Hey @pi0,
The last thing was to add code to support the comment you added, I think I was trying to solve for but the solution never got pushed: https://github.com/unjs/undocs/pull/112#discussion_r1544755644
i imagined you already pushed it ๐ Do you think we should revert?
@pi0 i think the solution works better than it did previously but we can iterate to fix the issue that you made a comment on.