You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a rendered markdown view toggle in the preview #165
Closing as already implemented. \MarkdownPreview.tsx\ already provides exactly this feature:
Toggle between rendered and raw views via the Preview / Code buttons in the preview header (\�iew\ state at src/components/Generator/MarkdownPreview.tsx:11).
Active mode is highlighted in the header (active button gets \�g-zinc-800 text-white, inactive \ ext-zinc-500).
Copy/Download controls are preserved in the header (src/components/Generator/MarkdownPreview.tsx:135-150).
Switching is pure client-side state \u2014 no regeneration required.
The rendered view remains protected by
ehypeRaw\ +
ehypeSanitize\ (src/components/Generator/MarkdownPreview.tsx:163).
All acceptance criteria in this issue are satisfied on main (merged via PR #224).
Activity
naheel0 commentedon Aug 8, 2026
Closing as already implemented. \MarkdownPreview.tsx\ already provides exactly this feature:
ehypeRaw\ +
ehypeSanitize\ (src/components/Generator/MarkdownPreview.tsx:163).
All acceptance criteria in this issue are satisfied on main (merged via PR #224).