mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-29 00:41:34 +02:00
Add equation
block type
This commit is contained in:
2
block.go
2
block.go
@ -34,6 +34,7 @@ type Block struct {
|
|||||||
File *FileBlock `json:"file,omitempty"`
|
File *FileBlock `json:"file,omitempty"`
|
||||||
PDF *FileBlock `json:"pdf,omitempty"`
|
PDF *FileBlock `json:"pdf,omitempty"`
|
||||||
Bookmark *Bookmark `json:"bookmark,omitempty"`
|
Bookmark *Bookmark `json:"bookmark,omitempty"`
|
||||||
|
Equation *Equation `json:"equation,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type RichTextBlock struct {
|
type RichTextBlock struct {
|
||||||
@ -123,6 +124,7 @@ const (
|
|||||||
BlockTypeFile BlockType = "file"
|
BlockTypeFile BlockType = "file"
|
||||||
BlockTypePDF BlockType = "pdf"
|
BlockTypePDF BlockType = "pdf"
|
||||||
BlockTypeBookmark BlockType = "bookmark"
|
BlockTypeBookmark BlockType = "bookmark"
|
||||||
|
BlockTypeEquation BlockType = "equation"
|
||||||
BlockTypeUnsupported BlockType = "unsupported"
|
BlockTypeUnsupported BlockType = "unsupported"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user