Skip to content

Commit cdc9fb6

Browse files
Clarify remote Markdown support in Astro (#12335)
Co-authored-by: Sarah Rainsberger <[email protected]>
1 parent 1b7fe91 commit cdc9fb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/docs/en/guides/markdown-content.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ When using the frontmatter `layout` property, you must include the `<meta charse
397397

398398
## Fetching Remote Markdown
399399

400-
Astro does not include built-in support for remote Markdown outside of [content collections](/en/guides/content-collections/).
400+
Astro's internal Markdown processor is not available for processing remote Markdown.
401+
402+
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).
401403

402404
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.
403405

0 commit comments

Comments
 (0)