Adding Minesweeper to a Notion page, step by step
-
Copy the game URL, not the iframe tag
Open the embed generator, choose a board size and theme, then take the address inside src="..." — for example https://play-minesweeper.games/embed/?size=beginner. Notion has no way to run pasted HTML, so the surrounding iframe tag is useless here. Keep the snippet on your clipboard or on screen, because you also need the credit link from the second half of it.
-
Type /embed on a new line in Notion
Put the cursor on an empty line in your Notion page, type /embed, and press Enter. Notion drops in an embed block with a "Paste any link..." field. You can also click the + that appears in the left margin and pick Embed from the block list.
-
Paste the URL and confirm the embed
Paste the play-minesweeper.games/embed URL into the field and confirm. If you instead paste the link straight onto an empty line, Notion shows a small menu asking what to do with it — choose the embed option rather than Create bookmark, which would only render a preview card.
-
Drag the block to the size you want
Hover over the embed block. Black drag guides appear on the left and right edges, and a handle appears along the bottom. Drag the sides for width and the bottom for height until the whole board and the smiley button are visible with no inner scrollbar.
-
Add the credit link under the board
The snippet includes a credit line under the game, and because Notion cannot render that HTML you have to recreate it as a Notion element. Either select the embed block, open its handle menu and choose Caption, or add a plain text line directly beneath it — then link the words Play Minesweeper to https://play-minesweeper.games/ with Ctrl+K or Cmd+K. It takes ten seconds and it is what keeps the embed free.
-
Check it in preview and share the page
Press Esc to deselect, then play a round to confirm clicks and right-clicks register. Share the page with Share > Publish if you want visitors without Notion accounts to be able to play it.
Sizing the board inside a Notion page
A default Notion page is roughly 700 pixels of usable width, and an embed block sits inside that column. That number decides which board you should pick:
- Beginner (9×9) needs about 344×472 pixels. It fits in a standard page, inside a two-column layout, and inside a toggle. This is the size to use if you are unsure.
- Intermediate (16×16) needs about 536×664 pixels. Comfortable on a normal page, tight inside a column.
- Expert (30×16) needs about 956×664 pixels. Turn on Full width
from the page
•••menu first, otherwise the right-hand columns of the board are clipped and players get a horizontal scrollbar inside the frame.
Drag the bottom handle until the smiley reset button and the mine counter are both visible. If the block is too short, Notion does not shrink the game — it just hides the bottom of it, which is the single most common complaint about game embeds in Notion.
To sit the board next to your notes, drag the block by its ⋮⋮ handle to the right
edge of an existing paragraph until a blue vertical guide appears, and Notion converts the
area into columns.
Notion quirks worth knowing before you publish
Right-click works, but Notion's own menu may open first. The game cancels the browser context menu so right-clicking a cell places a flag. If you right-click just outside the board you will hit Notion's block menu instead — aim inside the grey grid.
Dark mode is not inherited. Notion does not tell an embedded page which theme the reader is using. If your workspace lives in dark mode, generate the code with the dark theme so the board does not glow white on a dark page:
https://play-minesweeper.games/embed/?size=beginner&theme=dark The credit link is the part people forget. Everywhere else it arrives with the paste; in Notion it does not, because there is no HTML to paste. A caption on the block, or a small text line under it with Play Minesweeper linked to the game, covers it. That link is how a free, no-signup embed pays for itself, so please do add it — and it reads better as a caption than as body text anyway.
Exports lose the game. Embeds do not survive PDF or Markdown export from Notion — an exported page shows the link, not a playable board. That is expected behaviour for every Notion embed, not something specific to this one.
Published pages behave the same as private ones. A Notion Site or a page shared with Share to web loads the embed for anonymous visitors, so an internal wiki page and a public landing page both work.
Good places for a Minesweeper block in Notion
- A team wiki's "break room" or Friday page, where a 9×9 board is a two-minute distraction.
- An onboarding page, tucked inside a toggle labelled something like "reward for finishing this section".
- A classroom or study page next to notes on probability and deduction — Minesweeper is a clean worked example of constraint reasoning.
- A personal dashboard, in the right-hand column beside your task database.
If you want a specific board shape rather than one of the presets, the URL takes explicit
dimensions and a mine count, for example
?size=12x12&mines=20. Adding &branding=false drops the
"Powered by" line drawn inside the frame, which is purely cosmetic — it is separate from the
credit link you add as a caption, and that one stays either way.