Documentation ¶
Index ¶
Constants ¶
View Source
const FrontmatterKey = "runme.dev/frontmatter"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cell ¶
type Cell struct { Kind CellKind `json:"kind"` Value string `json:"value"` LanguageID string `json:"languageId"` Metadata map[string]string `json:"metadata,omitempty"` TextRange *TextRange `json:"textRange,omitempty"` }
Cell resembles NotebookCellData from VS Code. https://github.com/microsoft/vscode/blob/085c409898bbc89c83409f6a394e73130b932add/src/vscode-dts/vscode.d.ts#L13715
type Notebook ¶
type Notebook struct { Cells []*Cell `json:"cells"` Metadata map[string]string `json:"metadata,omitempty"` }
Notebook resembles NotebookData form VS Code. https://github.com/microsoft/vscode/blob/085c409898bbc89c83409f6a394e73130b932add/src/vscode-dts/vscode.d.ts#L13767
func Deserialize ¶
Click to show internal directories.
Click to hide internal directories.