Note types

The note type is defined by the type column in notes.

Possible types:

Note Typetype valueCorresponding MIME typeContent of the note's blobRelevant attributes
Texttext The HTML of the note. 
Relation Map relationMapapplication/json

A JSON describing the note:

{
    "notes": [
        {
            "noteId": "gFQDL11KEm9G",
            "x": 142,
            "y": 405
        },
        {
            "noteId": "8GcjEKyrrCgl",
            "x": 100.10406374385552,
            "y": 757.0364424520196
        }
    ],
    "transform": {
        "scale": 0.3,
        "x": 480.29766098682165,
        "y": 116.83892021963081
    }
}
None
Render Noterendertext/html or blank.An empty blob.~renderNote pointing to the HTML note to render.
Canvascanvasapplication/json
{
	"appState": {},
	"elemenets": {},
	"files": {},
	"type": "excalidraw",
	"version": 2
}
None
Mermaid Diagrammermaidtext/mermaid or text/plainThe plain text content of the Mermaid diagram.None
Bookbooktext/html or blank.An empty blob.
  • #viewType which can be either grid or list.
  • #expanded

both options are shown to the user via the “Book Properties” ribbon widget.

Web ViewwebViewblankAn empty blob.#webViewSrc pointing to an URL to render.
CodecodeDepends on the language (e.g. text/plain, text/x-markdown, text/x-c++src).The plain text content.