Importar Markdown a una pàgina de Notion

NOTION_TOKEN

Page ID

Introdueix l'input

Copiat!

Previsualització

Exemples de Markdown

Text amb estils

Aquest és un text en negreta i aquest és text en cursiva.

Llistes

  1. Element 1
  2. Element 2
  3. Element 3
  • Element A

  • Element B

  • Element C

  • [X] Tasca A

  • [ ] Tasca B

Codi

Podem tenir blocs de codi en javascript, python i molts més llenguatges.

console.log('Hola, món!');

Cita

Aquesta és una cita.

Taula

| First Header | Second Header | | ------------- | ------------- | | Content Cell | Content Cell | | Content Cell | Content Cell |

Equacions

La famosa identitat d'Euler eiπ+1=0e^{i\pi}+1=0 és en realitat un cas particular de l'equació d'Euler per x=πx=\pi

eiπ=cosπ+isinπe^{i\pi }=\cos \pi +i\sin \pi

Imatges

Enllaç

Enllaç a GitHub

Enllaç relatiu

Notion JSON

Copiat!
[
  {
    "object": "block",
    "type": "heading_1",
    "heading_1": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Exemples de Markdown",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Exemples de Markdown",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "heading_2",
    "heading_2": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Text amb estils",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Text amb estils",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "paragraph",
    "paragraph": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Aquest és un ",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Aquest és un ",
          "href": null
        },
        {
          "type": "text",
          "text": {
            "content": "text en negreta",
            "link": null
          },
          "annotations": {
            "bold": true,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "text en negreta",
          "href": null
        },
        {
          "type": "text",
          "text": {
            "content": " i aquest és ",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": " i aquest és ",
          "href": null
        },
        {
          "type": "text",
          "text": {
            "content": "text en cursiva",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": true,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "text en cursiva",
          "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
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "heading_2",
    "heading_2": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Llistes",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Llistes",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "numbered_list_item",
    "numbered_list_item": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Element 1",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Element 1",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "numbered_list_item",
    "numbered_list_item": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Element 2",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Element 2",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "numbered_list_item",
    "numbered_list_item": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Element 3",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Element 3",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "bulleted_list_item",
    "bulleted_list_item": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Element A",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Element A",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "bulleted_list_item",
    "bulleted_list_item": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Element B",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Element B",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "bulleted_list_item",
    "bulleted_list_item": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Element C",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Element C",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "to_do",
    "to_do": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Tasca A",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Tasca A",
          "href": null
        }
      ],
      "checked": true,
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "to_do",
    "to_do": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Tasca B",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Tasca B",
          "href": null
        }
      ],
      "checked": false,
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "heading_3",
    "heading_3": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Codi",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Codi",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "paragraph",
    "paragraph": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Podem tenir blocs de ",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Podem tenir blocs de ",
          "href": null
        },
        {
          "type": "text",
          "text": {
            "content": "codi",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": true,
            "color": "default"
          },
          "plain_text": "codi",
          "href": null
        },
        {
          "type": "text",
          "text": {
            "content": " en javascript, python i molts més llenguatges.",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": " en javascript, python i molts més llenguatges.",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "code",
    "code": {
      "caption": [],
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "console.log('Hola, món!');",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "console.log('Hola, món!');",
          "href": null
        }
      ],
      "language": "javascript"
    }
  },
  {
    "object": "block",
    "type": "heading_3",
    "heading_3": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Cita",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Cita",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "quote",
    "quote": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Aquesta és una cita.",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Aquesta és una cita.",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "heading_3",
    "heading_3": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Taula",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Taula",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "table",
    "table": {
      "table_width": 2,
      "has_column_header": true,
      "has_row_header": false,
      "children": [
        {
          "object": "block",
          "type": "table_row",
          "table_row": {
            "cells": [
              [
                {
                  "type": "text",
                  "text": {
                    "content": "First Header",
                    "link": null
                  },
                  "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                  },
                  "plain_text": "First Header",
                  "href": null
                }
              ],
              [
                {
                  "type": "text",
                  "text": {
                    "content": "Second Header",
                    "link": null
                  },
                  "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                  },
                  "plain_text": "Second Header",
                  "href": null
                }
              ]
            ]
          }
        },
        {
          "object": "block",
          "type": "table_row",
          "table_row": {
            "cells": [
              [
                {
                  "type": "text",
                  "text": {
                    "content": "Content Cell",
                    "link": null
                  },
                  "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                  },
                  "plain_text": "Content Cell",
                  "href": null
                }
              ],
              [
                {
                  "type": "text",
                  "text": {
                    "content": "Content Cell",
                    "link": null
                  },
                  "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                  },
                  "plain_text": "Content Cell",
                  "href": null
                }
              ]
            ]
          }
        },
        {
          "object": "block",
          "type": "table_row",
          "table_row": {
            "cells": [
              [
                {
                  "type": "text",
                  "text": {
                    "content": "Content Cell",
                    "link": null
                  },
                  "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                  },
                  "plain_text": "Content Cell",
                  "href": null
                }
              ],
              [
                {
                  "type": "text",
                  "text": {
                    "content": "Content Cell",
                    "link": null
                  },
                  "annotations": {
                    "bold": false,
                    "italic": false,
                    "strikethrough": false,
                    "underline": false,
                    "code": false,
                    "color": "default"
                  },
                  "plain_text": "Content Cell",
                  "href": null
                }
              ]
            ]
          }
        }
      ]
    }
  },
  {
    "object": "block",
    "type": "heading_3",
    "heading_3": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Equacions",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Equacions",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "paragraph",
    "paragraph": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "La famosa identitat d'Euler ",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "La famosa identitat d'Euler ",
          "href": null
        },
        {
          "type": "equation",
          "equation": {
            "expression": "e^{i\\pi}+1=0"
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "e^{i\\pi}+1=0",
          "href": null
        },
        {
          "type": "text",
          "text": {
            "content": " és en realitat un cas particular de l'equació d'Euler per ",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": " és en realitat un cas particular de l'equació d'Euler per ",
          "href": null
        },
        {
          "type": "equation",
          "equation": {
            "expression": "x=\\pi"
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "x=\\pi",
          "href": null
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "equation",
    "equation": {
      "expression": "e^{i\\pi }=\\cos \\pi +i\\sin \\pi"
    }
  },
  {
    "object": "block",
    "type": "heading_3",
    "heading_3": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Imatges",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Imatges",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "image",
    "image": {
      "type": "external",
      "external": {
        "url": "https://cdn.mathpix.com/cropped/2025_08_29_1fa009b3b17812752d01g-01.jpg?height=238&width=423&top_left_y=1695&top_left_x=1304"
      },
      "caption": []
    }
  },
  {
    "object": "block",
    "type": "heading_3",
    "heading_3": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Enllaç",
            "link": null
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Enllaç",
          "href": null
        }
      ],
      "color": "default",
      "is_toggleable": false
    }
  },
  {
    "object": "block",
    "type": "paragraph",
    "paragraph": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Enllaç a GitHub",
            "link": {
              "url": "https://github.com"
            }
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Enllaç a GitHub",
          "href": "https://github.com"
        }
      ],
      "color": "default"
    }
  },
  {
    "object": "block",
    "type": "paragraph",
    "paragraph": {
      "rich_text": [
        {
          "type": "text",
          "text": {
            "content": "Enllaç relatiu",
            "link": {
              "url": "../../Resum-teoria-Compu.md"
            }
          },
          "annotations": {
            "bold": false,
            "italic": false,
            "strikethrough": false,
            "underline": false,
            "code": false,
            "color": "default"
          },
          "plain_text": "Enllaç relatiu",
          "href": "../../Resum-teoria-Compu.md"
        }
      ],
      "color": "default"
    }
  }
]

Executa l'acció

Output


Exemple

Pàgina de Notion d'exemple

Importar Markdown a Notion

Utilitza el NOTION_TOKEN i el Page ID que apareixen als placeholders, o entra a aquí per fer servir la pàgina d'exemple .