Adding the game to a Blogger post
-
Copy the embed code
Choose a board size and theme on the embed generator and copy the whole snippet. Blogger accepts full HTML, so keep the iframe and the credit paragraph beneath it together and paste both.
-
Open a new Blogger post
Go to blogger.com, select the blog, and click New post. Write the post normally first — it is easier to add the game once the surrounding text exists.
-
Switch the editor to HTML view
At the far left of the post editor toolbar is a pencil icon with a small dropdown arrow next to it. Click the arrow and choose HTML view. The icon changes to the angle-bracket code icon and the body becomes raw markup.
-
Paste the iframe at the right point in the markup
Find the paragraph you want the board to follow and paste both parts there, credit line directly under the iframe. If the paste breaks across lines awkwardly, collapse the iframe onto a single line — Blogger is happier with that.
-
Preview and publish from HTML view
Use Preview to open the post in a new tab and play a round. Publish without going back to Compose view; Blogger rewrites markup on that round trip and is well known for escaping or dropping tags it does not expect.
Finding HTML view, and why it matters
Blogger's current post editor does not use the old Compose / HTML tabs. Instead, the first
control on the toolbar doubles as the mode switcher: a pencil icon when you are
in Compose view, a <> icon when you are in HTML view, with a small
dropdown arrow beside it. Click the arrow, choose the mode you want, and the toolbar returns.
Selecting the mode you are already in simply closes the menu.
That toggle is the whole game on Blogger. Compose view is a rich text surface, and Blogger's
conversion between the two representations is lossy in a well-documented way: it escapes angle
brackets, drops attributes it does not recognise, and reflows whitespace. An iframe pasted in
HTML view and then viewed in Compose can come back as visible text reading
<iframe src=... on your live blog.
The safe sequence is: write in Compose, switch to HTML once, paste, preview, publish. If you need to edit the post later, open it and switch to HTML view before you touch anything.
Fitting the board to a Blogger theme
Blogger's stock themes give the post column somewhere between 550 and 700 pixels, with a sidebar taking the rest. That means:
- Beginner 9×9 (344 × 472) — fits every theme, every column, and phones. The default recommendation.
- Intermediate 16×16 (536 × 664) — fits most post columns on desktop. Preview it on a phone before publishing.
- Expert 30×16 (956 × 664) — wider than a Blogger post column. Use it only on a standalone Page with a wide or no-sidebar layout, and keep the scrolling wrapper.
Blogger's mobile template is a genuinely separate render of your post, which you can inspect by
appending ?m=1 to any post URL. Check the board there as well as in desktop preview
— it is the version most of your readers will actually see.
The sidebar gadget route
If you want the game on every page of the blog rather than in one post, skip the post editor entirely. From the Blogger dashboard choose Layout, click Add a Gadget in the sidebar column, and pick HTML/JavaScript. Paste the snippet into the content field, give it a title such as "Take a break", and save the arrangement.
Gadget content is stored as you typed it, so none of the Compose view hazards apply — paste the
credit line into the gadget along with the frame. The
constraint is width: Blogger sidebars are typically 250 to 350 pixels, so use the Beginner board
or generate something smaller such as ?size=6x6&mines=5, which reads clearly even
in a narrow column.
Whichever route you take, the board needs no maintenance afterwards. It is a link to a page, so improvements to the game show up on your blog without you editing anything. If you want to change the size or theme later, regenerate the code on the embed page and swap the URL.