posthog.com
posthog.com copied to clipboard
Bug Report: Copy as Markdown does not copy the doc contents
Report
Tell us what went wrong and how we can reproduce it. Include URLs or screenshots if helpful.
The Copy as Markdown button downloads the md file, not the actual contents. E.g. on https://posthog.com/docs/llm-analytics/installation/vercel-ai
it just downloads the mdx file contents instead of the text on the page.
# Vercel AI LLM analytics installation
import { VercelAIInstallation } from 'onboarding/llm-analytics/vercel-ai.tsx'
import { OnboardingContentWrapper } from 'components/Docs/OnboardingContentWrapper'
<OnboardingContentWrapper snippets={{ NotableGenerationProperties }}>
<VercelAIInstallation />
</OnboardingContentWrapper>
Technical info
Tell us what browser and device you use, as well as any other info that may be relevant.
MacOs Chrome (not really relevant afaict)
Expected outcome, or solution
What did you expect to happen, instead of this?
Expected to download the actual contents more like:
# Install the PostHog SDK
...