Skip to content

Serve Markdown as text/plain - #30

Closed
Alice39s wants to merge 3 commits into
feat/ui-article-actionsfrom
feat/serve-markdown-plain
Closed

Serve Markdown as text/plain#30
Alice39s wants to merge 3 commits into
feat/ui-article-actionsfrom
feat/serve-markdown-plain

Conversation

@Alice39s

@Alice39s Alice39s commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Python 3.13+ started calling .md files text/markdown, and browsers responded by offering a download instead of showing the page. One small server fixes that entire class of annoyance.

nmteam serve serves every .md as text/plain; charset=utf-8, so the Markdown copies render inline in any browser.

Standard library only, no new dependencies.

@Alice39s
Alice39s force-pushed the feat/serve-markdown-plain branch from b3ccd36 to 4f1db2e Compare August 10, 2026 09:14
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploying nmteam-support with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1de8dfc
Status: ✅  Deploy successful!
Preview URL: https://217cb3fc.nmbot-telegram-doc.pages.dev
Branch Preview URL: https://feat-serve-markdown-plain.nmbot-telegram-doc.pages.dev

View logs

@Alice39s Alice39s self-assigned this Aug 10, 2026
@Alice39s Alice39s added enhancement New feature or request tooling Build, CI and developer tooling labels Aug 10, 2026
Comment thread src/nmteam_support/serve.py Fixed
@Alice39s
Alice39s force-pushed the feat/serve-markdown-plain branch from 4521c32 to 1de8dfc Compare August 10, 2026 10:09
@Alice39s

Copy link
Copy Markdown
Contributor Author

Superseded by #37 as part of the auditable stack recovery after #33. The original branch and commits are preserved without force-push.

@Alice39s Alice39s closed this Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tooling Build, CI and developer tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant