Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/content/docs/en/guides/markdown-content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@

## Fetching Remote Markdown

Astro does not include built-in support for remote Markdown outside of [content collections](/en/guides/content-collections/).
Astro's internal Markdown processor is not available for processing remote Markdown.

To fetch remote Markdown for use in [content collections](/en/guides/content-collections), you can [build a custom loader](/en/guides/content-collections/#building-a-custom-loader) with access to a [`renderMarkdown()` function](/en/reference/content-loader-reference/#rendermarkdown).

Check failure on line 402 in src/content/docs/en/guides/markdown-content.mdx

View workflow job for this annotation

GitHub Actions / Check Links

Link not using canonical url in src/content/docs/en/guides/markdown-content.mdx, line 402: Please use the proper canonical URL of the target page. This improves ranking in search engines and avoids unnecessary redirects. Suggested fix: /en/guides/content-collections/

To fetch remote Markdown directly and render it to HTML, you will need to install and configure your own Markdown parser from NPM. This will not inherit from any of Astro's built-in Markdown settings that you have configured.

Expand Down
Loading