のぶろぐ。
〜 のまど先生の生存確認日記 〜
eye catch

Notion Block Previews

// でエスケープコメントができるようにした

$ BASIC BLOCKS

h1

{
    "object": "block",
    "id": "96c07296-a984-4e0c-9f64-f7075ffeb7b3",
    "created_time": "2021-10-03T05:44:00.000Z",
    "last_edited_time": "2021-10-03T05:53:00.000Z",
    "has_children": false,
    "archived": false,
    "type": "heading_1",
    "heading_1": {
        "text": [
            {
                "type": "text",
                "text": {
                    "content": "h1",
                    "link": null
                },
                "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                },
                "plain_text": "h1",
                "href": null
            }
        ]
    }
}

h2

{
    "object": "block",
    "id": "2400fcc9-cea5-4d37-9459-378ee72b972d",
    "created_time": "2021-10-03T05:44:00.000Z",
    "last_edited_time": "2021-10-03T05:44:00.000Z",
    "has_children": false,
    "archived": false,
    "type": "heading_2",
    "heading_2": {
        "text": [
            {
                "type": "text",
                "text": {
                    "content": "h2",
                    "link": null
                },
                "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                },
                "plain_text": "h2",
                "href": null
            }
        ]
    }
}

h3

{
    "object": "block",
    "id": "a9d66e40-0cd5-4a4e-8612-3258130cfe87",
    "created_time": "2021-10-03T05:44:00.000Z",
    "last_edited_time": "2021-10-03T05:44:00.000Z",
    "has_children": false,
    "archived": false,
    "type": "heading_3",
    "heading_3": {
        "text": [
            {
                "type": "text",
                "text": {
                    "content": "h3",
                    "link": null
                },
                "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                },
                "plain_text": "h3",
                "href": null
            }
        ]
    }
}
  • チェックボックス
  • {
        "object": "block",
        "id": "8fb3bbc3-dcd1-47d0-93c5-9d2665812d3a",
        "created_time": "2021-10-03T05:44:00.000Z",
        "last_edited_time": "2021-10-03T05:46:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "to_do",
        "to_do": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "チェックボックス",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "チェックボックス",
                    "href": null
                }
            ],
            "checked": false
        }
    }
    
  • 箇条書きリスト1
  • {
        "object": "block",
        "id": "6a3c1c89-b031-49d5-8dc2-d52c123ed892",
        "created_time": "2021-10-03T05:44:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "bulleted_list_item",
        "bulleted_list_item": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "箇条書きリスト1",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "箇条書きリスト1",
                    "href": null
                }
            ]
        }
    }
    
  • 箇条書きリスト2
  • {
        "object": "block",
        "id": "7c6078fc-1630-48ec-9605-cda0da0fedf6",
        "created_time": "2021-10-03T05:45:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "bulleted_list_item",
        "bulleted_list_item": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "箇条書きリスト2",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "箇条書きリスト2",
                    "href": null
                }
            ]
        }
    }
    
  • 箇条書きリスト3
  • {
        "object": "block",
        "id": "c5c98134-46f4-4a35-be27-d8b286d05e74",
        "created_time": "2021-10-03T05:45:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "bulleted_list_item",
        "bulleted_list_item": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "箇条書きリスト3",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "箇条書きリスト3",
                    "href": null
                }
            ]
        }
    }
    
  • 番号リスト1
  • {
        "object": "block",
        "id": "7ec7fbc6-320d-47fb-bafb-64319b68da28",
        "created_time": "2021-10-03T05:44:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "numbered_list_item",
        "numbered_list_item": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "番号リスト1",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "番号リスト1",
                    "href": null
                }
            ]
        }
    }
    
  • 番号リスト2
  • {
        "object": "block",
        "id": "90b5b223-ea7a-4516-a2f6-61424095b70d",
        "created_time": "2021-10-03T05:45:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "numbered_list_item",
        "numbered_list_item": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "番号リスト2",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "番号リスト2",
                    "href": null
                }
            ]
        }
    }
    
  • 番号リスト3
  • {
        "object": "block",
        "id": "c813c77b-81eb-4117-a8cf-ae43ce252478",
        "created_time": "2021-10-03T05:45:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "numbered_list_item",
        "numbered_list_item": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "番号リスト3",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "番号リスト3",
                    "href": null
                }
            ]
        }
    }
    
    トグルブロック
    {
        "object": "block",
        "id": "24d6112f-6d06-41b5-aa8f-8d3983ae653d",
        "created_time": "2021-10-03T05:44:00.000Z",
        "last_edited_time": "2021-10-03T05:45:00.000Z",
        "has_children": true,
        "archived": false,
        "type": "toggle",
        "toggle": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "トグルブロック",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "トグルブロック",
                    "href": null
                }
            ]
        }
    }
    
    javascript
    code block
    {
        "object": "block",
        "id": "3d061134-a24e-4943-9a8f-4d937a3dce77",
        "created_time": "2021-10-03T05:44:00.000Z",
        "last_edited_time": "2021-10-03T05:47:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "code",
        "code": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "code block",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "code block",
                    "href": null
                }
            ],
            "language": "javascript"
        }
    }
    
    // ページブロック
    ページがここにありますが,表示不可です.
    {
        "object": "block",
        "id": "62aed534-8f3e-47f1-89d7-825c29d198e0",
        "created_time": "2021-10-03T05:44:00.000Z",
        "last_edited_time": "2021-10-03T05:47:00.000Z",
        "has_children": true,
        "archived": false,
        "type": "child_page",
        "child_page": {
            "title": "新しいページ"
        }
    }
    
    💡
    コールアウト
    {
        "object": "block",
        "id": "4380cb9b-26c4-436d-a4b7-48ca08797dc7",
        "created_time": "2021-10-03T05:48:00.000Z",
        "last_edited_time": "2021-10-08T08:08:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "callout",
        "callout": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "コールアウト",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "コールアウト",
                    "href": null
                }
            ],
            "icon": {
                "type": "emoji",
                "emoji": "💡"
            }
        }
    }
    
    // 引用ブロック
    引用ブロック
    {
        "object": "block",
        "id": "dd786d9a-d3eb-4c39-9050-762fc8f3aade",
        "created_time": "2021-10-03T05:48:00.000Z",
        "last_edited_time": "2021-10-03T05:48:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "quote",
        "quote": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "引用ブロック",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "引用ブロック",
                    "href": null
                }
            ]
        }
    }
    
    // Diverブロック

    [未対応Block] type: divider

    {
        "object": "block",
        "id": "513bb76b-ee0e-494c-9fb1-ef10a9ccf328",
        "created_time": "2021-10-03T05:48:00.000Z",
        "last_edited_time": "2021-10-03T05:48:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "divider",
        "divider": {}
    }
    
    // Notion内リンクブロック

    [未対応Block] type: link_to_page

    {
        "object": "block",
        "id": "056cc760-63fc-40e1-82b9-ad9a070e915f",
        "created_time": "2021-10-03T05:50:00.000Z",
        "last_edited_time": "2021-10-03T05:50:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "link_to_page",
        "link_to_page": {
            "type": "page_id",
            "page_id": "02314c76-345d-4db3-948f-7e80e02a489c"
        }
    }
    

    $ ANNOTATIONS(テキストの装飾)

    ボールド 太字

    {
        "object": "block",
        "id": "f5e571cc-5663-4115-b98a-471da049ad2e",
        "created_time": "2021-10-03T05:59:00.000Z",
        "last_edited_time": "2021-10-03T05:59:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "ボールド 太字",
                        "link": null
                    },
                    "annotations": {
                        "bold": true,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "ボールド 太字",
                    "href": null
                }
            ]
        }
    }
    

    イタリック 斜体

    {
        "object": "block",
        "id": "5ebdeb11-4cf7-42ec-9f2a-25f9c28642a9",
        "created_time": "2021-10-03T05:59:00.000Z",
        "last_edited_time": "2021-10-03T05:59:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "イタリック 斜体",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": true,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "イタリック 斜体",
                    "href": null
                }
            ]
        }
    }
    

    アンダーライン 下線

    {
        "object": "block",
        "id": "f78a0f37-ccfd-4e57-b1ec-b7fa96dd43b9",
        "created_time": "2021-10-03T05:59:00.000Z",
        "last_edited_time": "2021-10-03T05:59:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "アンダーライン 下線",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": true,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "アンダーライン 下線",
                    "href": null
                }
            ]
        }
    }
    

    取り消し線

    {
        "object": "block",
        "id": "21b2e5c7-849d-4a42-a516-9916efcd9d6b",
        "created_time": "2021-10-03T05:59:00.000Z",
        "last_edited_time": "2021-10-03T05:59:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "取り消し線",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": true,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "取り消し線",
                    "href": null
                }
            ]
        }
    }
    

    short code

    {
        "object": "block",
        "id": "f2cefd55-3ab9-47a8-bb13-a14cf2f98daf",
        "created_time": "2021-10-03T05:59:00.000Z",
        "last_edited_time": "2021-10-03T05:59:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "short code",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": true,
                        "color": "default"
                    },
                    "plain_text": "short code",
                    "href": null
                }
            ]
        }
    }
    

    y=\frac{1}{x^2+1} 数式

    {
        "object": "block",
        "id": "2eb6d56f-719d-4927-82b2-093dcda24d9a",
        "created_time": "2021-10-03T05:59:00.000Z",
        "last_edited_time": "2021-10-03T05:59:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "equation",
                    "equation": {
                        "expression": "y=\\frac{1}{x^2+1}"
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "y=\\frac{1}{x^2+1}",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": " ",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": " ",
                    "href": null
                },
                {
                    "type": "equation",
                    "equation": {
                        "expression": "数式"
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "数式",
                    "href": null
                }
            ]
        }
    }
    
    {
        "object": "block",
        "id": "6010b49d-ab0a-49a7-b4cd-6e23a9d09bbc",
        "created_time": "2021-10-03T06:51:00.000Z",
        "last_edited_time": "2021-10-10T01:41:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "リンク付き",
                        "link": {
                            "url": "https://www.notion.so/"
                        }
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "リンク付き",
                    "href": "https://www.notion.so/"
                }
            ]
        }
    }
    
    // 文字色

    ■Gray

    {
        "object": "block",
        "id": "e9b2456d-51c2-4e78-a31e-3af8b155b4c4",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:58:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Gray",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "gray"
                    },
                    "plain_text": "■Gray",
                    "href": null
                }
            ]
        }
    }
    

    ■Brown

    {
        "object": "block",
        "id": "418d498c-1969-41f4-b082-d8b9c27b278a",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Brown",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "brown"
                    },
                    "plain_text": "■Brown",
                    "href": null
                }
            ]
        }
    }
    

    ■Orange

    {
        "object": "block",
        "id": "98d44605-5fe5-47f7-84e6-b9c9f39d10d5",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Orange",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "orange"
                    },
                    "plain_text": "■Orange",
                    "href": null
                }
            ]
        }
    }
    

    ■Yellow

    {
        "object": "block",
        "id": "a05fddfe-779d-438f-b822-b67d69ff8491",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Yellow",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "yellow"
                    },
                    "plain_text": "■Yellow",
                    "href": null
                }
            ]
        }
    }
    

    ■Green

    {
        "object": "block",
        "id": "442eba39-d64c-4eae-b497-1d9eea11b01d",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Green",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "green"
                    },
                    "plain_text": "■Green",
                    "href": null
                }
            ]
        }
    }
    

    ■Blue

    {
        "object": "block",
        "id": "390f499e-28a1-44da-9e91-145319d584e3",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Blue",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "blue"
                    },
                    "plain_text": "■Blue",
                    "href": null
                }
            ]
        }
    }
    

    ■Purple

    {
        "object": "block",
        "id": "e16b3272-595f-4f56-9e88-63db7c988916",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Purple",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "purple"
                    },
                    "plain_text": "■Purple",
                    "href": null
                }
            ]
        }
    }
    

    ■Pink

    {
        "object": "block",
        "id": "0000825f-31d5-4e3a-9526-b2051410b99b",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Pink",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "pink"
                    },
                    "plain_text": "■Pink",
                    "href": null
                }
            ]
        }
    }
    

    ■Red

    {
        "object": "block",
        "id": "3bd72554-d0ec-4525-9560-aa9fb62bddcf",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-10T01:41:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "■Red",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "red"
                    },
                    "plain_text": "■Red",
                    "href": null
                }
            ]
        }
    }
    
    // 背景色

    Gray background

    {
        "object": "block",
        "id": "c74526a9-7901-4ffe-a4ee-0af27f6caf59",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:55:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Gray background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "gray_background"
                    },
                    "plain_text": "Gray background",
                    "href": null
                }
            ]
        }
    }
    

    Brawn background

    {
        "object": "block",
        "id": "ca072ff8-efa6-4080-904e-a1315659a91c",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Brawn background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "brown_background"
                    },
                    "plain_text": "Brawn background",
                    "href": null
                }
            ]
        }
    }
    

    Orange background

    {
        "object": "block",
        "id": "8e4219c3-41c5-4871-b70d-121e114591e5",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Orange background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "orange_background"
                    },
                    "plain_text": "Orange background",
                    "href": null
                }
            ]
        }
    }
    

    Yellow background

    {
        "object": "block",
        "id": "c592fcae-979e-4ed7-884c-3db45b5e78b9",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Yellow background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "yellow_background"
                    },
                    "plain_text": "Yellow background",
                    "href": null
                }
            ]
        }
    }
    

    Green background

    {
        "object": "block",
        "id": "47f80248-a35e-4727-b0e4-0d3e4375c3e6",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Green background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "green_background"
                    },
                    "plain_text": "Green background",
                    "href": null
                }
            ]
        }
    }
    

    Blue background

    {
        "object": "block",
        "id": "903a7089-5409-4f9d-959a-ae8fe59b2ab3",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Blue background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "blue_background"
                    },
                    "plain_text": "Blue background",
                    "href": null
                }
            ]
        }
    }
    

    Purple background

    {
        "object": "block",
        "id": "c22a2a50-5a75-498f-bdba-341a223114e1",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Purple background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "purple_background"
                    },
                    "plain_text": "Purple background",
                    "href": null
                }
            ]
        }
    }
    

    Pink background

    {
        "object": "block",
        "id": "48a5df4d-beb6-4937-bc9e-79126770f23d",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Pink background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "pink_background"
                    },
                    "plain_text": "Pink background",
                    "href": null
                }
            ]
        }
    }
    

    Red background

    {
        "object": "block",
        "id": "9ab8052d-69d7-412b-8e54-a3b39adedc69",
        "created_time": "2021-10-03T05:55:00.000Z",
        "last_edited_time": "2021-10-10T01:41:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Red background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "red_background"
                    },
                    "plain_text": "Red background",
                    "href": null
                }
            ]
        }
    }
    
    // ブロックに色をつけた場合

    Red

    {
        "object": "block",
        "id": "95de8241-81a6-4e88-873c-bfc630ecf7f2",
        "created_time": "2021-10-03T05:54:00.000Z",
        "last_edited_time": "2021-10-03T05:56:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Red",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "Red",
                    "href": null
                }
            ]
        }
    }
    

    Blue background

    {
        "object": "block",
        "id": "cc0f6f97-6465-4a23-9951-7ff6ad01c29e",
        "created_time": "2021-10-03T05:54:00.000Z",
        "last_edited_time": "2021-10-10T01:41:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "Blue background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "Blue background",
                    "href": null
                }
            ]
        }
    }
    
    // 一つのブロックに複数の装飾

    ここには,赤色にしたり太字にしたり,青色でイタリックだったりした文章があります.ブロック自体はGreen backgroundにしています.さらにリンクも埋め込んでみましょう.

    {
        "object": "block",
        "id": "4badd8d9-9139-40ee-9533-93be4436841b",
        "created_time": "2021-10-03T06:01:00.000Z",
        "last_edited_time": "2021-10-11T06:15:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "ここには,",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "ここには,",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "赤色",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "red"
                    },
                    "plain_text": "赤色",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "にしたり",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "にしたり",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "太字",
                        "link": null
                    },
                    "annotations": {
                        "bold": true,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "太字",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "にしたり,",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "にしたり,",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "青色でイタリック",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": true,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "blue"
                    },
                    "plain_text": "青色でイタリック",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "だったりした文章があります.ブロック自体は",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "だったりした文章があります.ブロック自体は",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "Green background",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "green_background"
                    },
                    "plain_text": "Green background",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "にしています.さらに",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "にしています.さらに",
                    "href": null
                },
                {
                    "type": "text",
                    "text": {
                        "content": "リンク",
                        "link": {
                            "url": "https://www.notion.so/"
                        }
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "リンク",
                    "href": "https://www.notion.so/"
                },
                {
                    "type": "text",
                    "text": {
                        "content": "も埋め込んでみましょう.",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "も埋め込んでみましょう.",
                    "href": null
                }
            ]
        }
    }
    

    $ DATABASE

    [未対応Block] type: child_database

    {
        "object": "block",
        "id": "4d22c585-4b6f-4f19-ac13-f0e151b2415b",
        "created_time": "2021-10-03T05:53:00.000Z",
        "last_edited_time": "2021-10-10T01:41:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "child_database",
        "child_database": {
            "title": "インライン データベース"
        }
    }
    

    [未対応Block] type: child_database

    {
        "object": "block",
        "id": "99cb97b6-29e7-440f-988c-11ac64fdab25",
        "created_time": "2021-10-03T06:09:00.000Z",
        "last_edited_time": "2021-10-03T06:09:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "child_database",
        "child_database": {
            "title": "フルページのデータベース"
        }
    }
    

    $ MEDIA & EMBEDS

    image in blog
    {
        "object": "block",
        "id": "c4be6072-646e-4df0-9ab7-5850c154c9ed",
        "created_time": "2021-10-03T06:03:00.000Z",
        "last_edited_time": "2021-10-10T01:40:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "image",
        "image": {
            "caption": [
                {
                    "type": "text",
                    "text": {
                        "content": "宇宙ペンギンの画像[caution]",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "宇宙ペンギンの画像[caution]",
                    "href": null
                }
            ],
            "type": "file",
            "file": {
                "url": "https://s3.us-west-2.amazonaws.com/secure.notion-static.com/7822d758-b623-4098-8366-849c15e6bc0c/space_uchu_penguin.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220116%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220116T211825Z&X-Amz-Expires=3600&X-Amz-Signature=e8a8c8db83fce92b22911a17ffed78ab6c8e35b1f04e5431f0063f19fd5b63cc&X-Amz-SignedHeaders=host&x-id=GetObject",
                "expiry_time": "2022-01-16T22:18:25.159Z"
            }
        }
    }
    
    // 2021/10/10のURL https://s3.us-west-2.amazonaws.com/secure.notion-static.com/7822d758-b623-4098-8366-849c15e6bc0c/space_uchu_penguin.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAT73L2G45O3KS52Y5%2F20211010%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211010T014248Z&X-Amz-Expires=86400&X-Amz-Signature=8788b9762bdec602028f9360b0778d5d338b901af41c8d054cad97a779f7e134&X-Amz-SignedHeaders=host&response-content-disposition=filename %3D"space_uchu_penguin.png"
    {
        "object": "block",
        "id": "3574651f-aa1a-4a42-ba95-24c02fd1b65d",
        "created_time": "2021-10-03T06:08:00.000Z",
        "last_edited_time": "2021-10-10T01:40:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "video",
        "video": {
            "caption": [
                {
                    "type": "text",
                    "text": {
                        "content": "YouTubeの動画[caution]",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "YouTubeの動画[caution]",
                    "href": null
                }
            ],
            "type": "external",
            "external": {
                "url": "https://www.youtube.com/watch?v=OE6wquaPk-I"
            }
        }
    }
    
    // Bookmark
    {
        "object": "block",
        "id": "f9a78908-44c2-4b1e-8c44-39bee8038ed0",
        "created_time": "2021-10-03T06:04:00.000Z",
        "last_edited_time": "2021-10-10T01:40:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "bookmark",
        "bookmark": {
            "caption": [
                {
                    "type": "text",
                    "text": {
                        "content": "bookmark[caution]",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "bookmark[caution]",
                    "href": null
                }
            ],
            "url": "https://www.notion.so/"
        }
    }
    
    // 上の3つはcautionが取得できている
    // Tweet Card

    [未対応Block] type: embed

    {
        "object": "block",
        "id": "d656240c-4db0-4f35-bf13-688f20127355",
        "created_time": "2021-10-03T06:09:00.000Z",
        "last_edited_time": "2021-10-03T06:10:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "embed",
        "embed": {
            "caption": [],
            "url": "https://twitter.com/Knob_nbr41to/status/1423234224086085636"
        }
    }
    
    // PDFファイル

    [未対応Block] type: pdf

    {
        "object": "block",
        "id": "461698f0-48c2-4260-a7a6-f615df4c8f4a",
        "created_time": "2021-10-03T06:11:00.000Z",
        "last_edited_time": "2021-10-08T09:35:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "pdf",
        "pdf": {
            "caption": [],
            "type": "file",
            "file": {
                "url": "https://s3.us-west-2.amazonaws.com/secure.notion-static.com/d4853655-740f-49bb-ae10-462d943944f1/20210826_%E8%81%B7%E5%8B%99%E7%B5%8C%E6%AD%B4%E6%9B%B8.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220116%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220116T211825Z&X-Amz-Expires=3600&X-Amz-Signature=a27ff4b6ad75c586ccde849494c3e48e9c08b90185f51f1b260503884e7e1717&X-Amz-SignedHeaders=host&x-id=GetObject",
                "expiry_time": "2022-01-16T22:18:25.283Z"
            }
        }
    }
    

    $ ADVANCED BLOCKS

    // Table ob contents

    [未対応Block] type: table_of_contents

    {
        "object": "block",
        "id": "71ce69d9-1b38-4e4b-ba57-56ae7b6b87ab",
        "created_time": "2021-10-03T06:06:00.000Z",
        "last_edited_time": "2021-10-03T06:06:00.000Z",
        "has_children": false,
        "archived": false,
        "type": "table_of_contents",
        "table_of_contents": {}
    }
    
    // ブロックを横に並べてみる

    [未対応Block] type: column_list

    {
        "object": "block",
        "id": "665fb3d1-b7d9-4ed0-94f3-2cdf38bef7ea",
        "created_time": "2021-10-08T08:05:00.000Z",
        "last_edited_time": "2021-10-08T08:05:00.000Z",
        "has_children": true,
        "archived": false,
        "type": "column_list",
        "column_list": {}
    }
    
    // ブロックの中のブロック

    ここにparagraphブロックがあり子と孫がいます

    {
        "object": "block",
        "id": "9502b917-dfa0-455f-82a4-37aaaf429bd1",
        "created_time": "2021-10-08T08:06:00.000Z",
        "last_edited_time": "2021-10-11T06:17:00.000Z",
        "has_children": true,
        "archived": false,
        "type": "paragraph",
        "paragraph": {
            "text": [
                {
                    "type": "text",
                    "text": {
                        "content": "ここにparagraphブロックがあり子と孫がいます",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "ここにparagraphブロックがあり子と孫がいます",
                    "href": null
                }
            ]
        }
    }
    
    // "has_children": true, となっているが,childrenに関する情報は取得されていない