mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 19:04:06 -06:00
This update introduces functionality to identify and mark links to non-existent pages as "dead links" within the content page emitter. The implementation utilizes the `unist-util-visit` library to traverse the document tree and modify link elements accordingly. Links that do not correspond to existing slugs are converted to spans with a "dead-link" class for better user feedback. |
||
|---|---|---|
| .. | ||
| emitters | ||
| filters | ||
| transformers | ||
| index.ts | ||
| types.ts | ||
| vfile.ts | ||