Repository navigation
Render bios as safe Markdown - #687
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| JavaScript | Nov 16, 2026 2:46p.m. | Review ↗ | |
| Secrets | Nov 16, 2026 2:46p.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the change’s safe Markdown rendering and plain-text excerpt handling address the stated functionality.
No open issues 🎉
What changed in this PR
This pull request adds safe Markdown rendering for user bios with raw HTML disabled, preserves plain-text homepage excerpts, converts Ken Horlador’s bio to Markdown, and adds the markdown-it dependency.
Changes:
- Registers a Markdown-It filter configured to disable raw HTML.
- Renders full bios as safe Markdown and strips formatting from homepage excerpts.
- Updates Ken Horlador’s bio and dependency lockfile.
| File | Description |
|---|---|
| src/users/kenhorlador.yaml | Converts Ken Horlador’s bio formatting and links from HTML to Markdown syntax. |
| src/index.njk | Processes homepage bio excerpts into plain text after Markdown rendering. |
| src/_includes/bio.njk | Renders full user bios as safe Markdown-generated HTML. |
| package.json | Adds markdown-it as a dependency. |
| package-lock.json | Records markdown-it and its transitive dependency updates. |
| .eleventy.js | Registers the Markdown-It filter with raw HTML disabled. |
Review effort: Lite
Fixes #403
Summary
markdown-itand update the lockfile.Validation
npm.cmd run eleventy:build— passed; 81 pages generated.Apologies for the delay in submitting this PR, and thank you for assigning me to the issue.