Skip to content

feat(vite-plugin-nitro): add option for markdown source output alongside prerendered routes#2082

Merged
brandonroberts merged 1 commit intobetafrom
feat/output-source-file
Feb 22, 2026
Merged

feat(vite-plugin-nitro): add option for markdown source output alongside prerendered routes#2082
brandonroberts merged 1 commit intobetafrom
feat/output-source-file

Conversation

@brandonroberts
Copy link
Member

PR Checklist

Closes #2046

What is the new behavior?

This allows markdown source files to be output alongside prerendered routes, making content more accessible to LLMs and other tools that prefer raw markdown. Source files are written with a .md extension at the route path.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

Image

…routes

Allow markdown source files to be output alongside prerendered routes,
making content more accessible to LLMs and other tools that prefer raw
markdown. Source files are written with a .md extension at the route path.

Closes #2046
@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit ab92644
🔍 Latest deploy log https://app.netlify.com/projects/analog-blog/deploys/699b78f30d73e800083bbcc4
😎 Deploy Preview https://deploy-preview-2082--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit ab92644
🔍 Latest deploy log https://app.netlify.com/projects/analog-docs/deploys/699b78f3c0a2880008e2e9ea
😎 Deploy Preview https://deploy-preview-2082--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit ab92644
🔍 Latest deploy log https://app.netlify.com/projects/analog-app/deploys/699b78f38a6d7900086d2a33
😎 Deploy Preview https://deploy-preview-2082--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brandonroberts brandonroberts changed the title feat(vite-plugin-nitro): add outputSourceFile option for prerendered routes feat(vite-plugin-nitro): add option for markdown source output alongside prerendered routes Feb 22, 2026
@brandonroberts brandonroberts merged commit c15d20b into beta Feb 22, 2026
18 checks passed
@brandonroberts brandonroberts deleted the feat/output-source-file branch February 22, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[@analogjs/vite-plugin-nitro]: Add inclusion of markdown source alongside prerendered content

1 participant