My last tutorial contains a table of contents. But whatever Markdown I tried, the links never worked :(
So I needed to look under the hood and get my hands dirty...
One issue and one PR later, and everything is working like clockwork again.
What type of PR is this? (check all applicable)
- [ ] Refactor
- [ ] Feature
- [x] Bug Fix
- [ ] Documentation Update
Fix invalid anchored links due to "//" prefix.
- Updates app/lib/redcarpet/render/html_rouge.rb
- If link starts with "#", keep link as it is, since it's an anchored link
Related Tickets & Documents
Added to documentation?
- [ ] docs.dev.to
- [ ] readme
- [x] no documentation needed
And now, I have to wait (20 minutes) until the fix goes into production, then republish my post in order to rebuild the TOC correctly.
**Table of Contents** 1. [Create a new Node project](#crud1) 1. [Add modules to the Node project](#crud2) 1. [Create the Express application](#crud3) 1. [Add EJS views](#crud4) 1. [Use views in Express](#crud5) 1. [First steps with the SQlite3 module](#crud6) 1. [Modify an existing row](#crud7) 1. [Create a new row](#crud8) 1. [Delete a row](#crud9) 1. [Conclusion](#crud10)