core: add internal links extraction

This commit is contained in:
Abdullah Atta
2024-01-24 16:21:16 +05:00
parent ff87bebe8f
commit c8f9925973
5 changed files with 182 additions and 32 deletions

View File

@@ -26,3 +26,8 @@ export {
parseInternalLink,
type InternalLink
} from "./utils/internal-link";
export {
extractInternalLinks,
highlightInternalLinks,
type TextSlice
} from "./utils/content-block";