Skip to content

Commit bf20f9a

Browse files
paul-sachssarah11918
authored andcommitted
Clarify remote Markdown support in Astro (withastro#12335)
Co-authored-by: Sarah Rainsberger <[email protected]>
1 parent d0c0ea3 commit bf20f9a

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)