Project: jotai
Task (challenging): 1) Enable Markdown text input for blog details. Preview the Markdown in Blog.tsx. 
2) Develop a utility atom to reuse Markdown-related logic. 
3) Prevent XSS attacks. 
Constraint: DO NOT use any third-party packages; ONLY React/Jotai APIs are permitted.