Blot
Contents

Google Docs

  • .gdoc

Blot will automatically publish Google Docs inside your folder when you sync your folder with Google Drive. Changes you make to a Google Doc usually appear on your site within a few seconds, even while you are still typing.

Metadata

Blot reads metadata at the very top of your Google Doc. For example:

Title: October Newsletter
Tags: announcements, fall

The rest of your post goes here.

Images

Insert photos directly in Google Docs using the menu Insert then Image, or by dragging and dropping an image file into the document. If you define Alt and title text in Google Docs, Blot will use them for the image’s alt text and caption. Blot uses the largest version of each image Google keeps, and only fetches an image again when you change it.

Headings

Apply the text style Title, Heading 1, Heading 2, etc. in Google Docs to create headings. Links to headings inside your document, including a table of contents, keep working in the published post.

Text formatting

Blot preserves most text formatting in Google Docs, including combinations such as bold italic.

Bold
Italic
Underline
Strikethrough
Superscript
Subscript
Font
Colors
Spacing (see line breaks)

Use Insert then Link to create links. Blot removes Google’s tracking redirects so each link points directly to the original URL.

Lists

Use the Bulleted list, Numbered list or Checklist buttons in Google Docs to create lists. Nested lists stay nested, numbered lists keep their numbering and checklist items appear as checkboxes, ticked when you have checked them.

Tables

Use Insert then Table then select the table size to create tables.

Code

Use Google Docs’ own code blocks: Insert then Building blocks then Code block. Words in a monospace font, such as Courier New or Roboto Mono, inside a paragraph of other text become inline code.

You can also use a single-celled table to mark up a code block. For example:

Insert then Table then 1 x 1

If you create a double celled table, with two rows, you can specify the language of the code in the first cell to enable syntax highlighting:

Insert then Table then 2 x 1

Tip: To avoid Google Docs’ “smart quotes” (curly quotes), press Command + Z immediately after typing quotation marks. This will undo the automatic replacement of your straight quotes with curly quotes.

This follows the same convention as the Code Blocks app for Google Docs. You do not need to install the app to use code blocks in Google Docs with Blot.

Footnotes

Footnotes in your Google Doc are preserved in the published post.

Line breaks

Line breaks are preserved, so poetry and addresses appear as expected. Paragraphs with no space between them (Format then Line & paragraph spacing) are joined with line breaks; paragraphs with space between them, as in most documents, stay separate paragraphs.

Tabs

A document with several tabs is published with each tab in its own section, in order.

Blockquotes

Use Markdown or email-style > characters for marking up block quotes. For example:

> This is a blockquote with two paragraphs.
>
> This is the second paragraph. Vestibulum enim wisi.

Embedding

A link to a video, a song or a social post becomes an embedded player or post. Blot embeds a link only when its text is the full URL itself, so paste the URL on a line of its own:

Here is the first video on YouTube:

https://www.youtube.com/watch?v=jNQXAC9IVRw

Blot embeds links to:

Links to channels, profiles, playlists, hashtags and other pages stay links. So does a link with its own text, such as my favorite video. If Blot can’t fetch the embed, the link stays as it was.

In Google Docs, paste the URL and keep it as a link. A smart chip shows the page’s title instead of its URL, so it stays a link.

Math

Write TeX\TeX between dollar signs: one on each side for math inside a sentence, two on each side for an equation on its own line. Blot typesets it with KaTeX when it publishes the post, so visitors don’t need JavaScript.

The area of a circle is $\pi r^2$.

$$
f(x) = 2x^2 + 2/3
$$

See Math for every function you can use.

Comments

Comments in the document are removed from the post or page before publishing.

Not supported

Columns, fonts and colors don’t carry over to the post. Wikilinks, layout tags and citations work only in Markdown files.