mirror of
https://github.com/outline/outline.git
synced 2026-01-07 11:40:08 -06:00
* Serialize document and collection mentions as regular links - Update toMarkdown method in Mention.tsx to use regular markdown links for documents and collections - Documents now serialize as [label](URL/doc/modelId) instead of @[label](mention://id/document/modelId) - Collections now serialize as [label](URL/collection/modelId) instead of @[label](mention://id/collection/modelId) - User mentions and other types retain the existing mention:// format for backward compatibility - Improves portability of exported markdown and aligns with standard markdown link format Fixes #10544 * Use relative URLs for document and collection mentions - Remove domain from mention links to use relative paths - Documents now serialize as [label](/doc/modelId) - Collections now serialize as [label](/collection/modelId) - Makes exported markdown more portable across different domains --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>