Sometimes you want to see an unpublished article in the same layout as your live site. microCMS supports this with a draftKey-based preview.
1. Preview URL format
This site exposes draft preview at:
/articles/draft/<contentId>?draftKey=<key>
Example: /articles/draft/draft-test?draftKey=Q-KTEZtTtK
2. Getting the draftKey
In the microCMS dashboard, edit an article and save as draft. The preview link shown there includes a draftKey query parameter. Copy that value and use it in the URL above.
3. What is shown
Title, description, and body (rich text blocks) are rendered. The app picks content or content_en by locale. HTML is sanitized before display for security.
Use it to review before publish or to share with stakeholders.
