Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/maaslalani/slides
/ types & classes
Types & classes
16 in github.com/maaslalani/slides
⨍
Functions
73
◇
Types & classes
16
Struct
Block
Block represents a pre-processable block which looks like the following: It is delimited by ~~~ and contains a command to be run along with the input
internal/process/process.go:18
Struct
Block
Block represents a code block.
internal/code/code.go:14
Struct
Language
Language represents a programming language with it Extension and Commands to execute its programs.
internal/code/languages.go:9
Struct
Meta
Meta contains all of the data to be parsed out of a markdown file's header section
internal/meta/meta.go:26
Interface
Model
Model is an interface for models.model, so that cycle imports are avoided
internal/navigation/search.go:12
Struct
Model
Model represents the model of this presentation, which contains all the state related to the current slides.
internal/model/model.go:37
Struct
Result
Result represents the output for an executed code block.
internal/code/code.go:20
Struct
Search
Search represents the current search
internal/navigation/search.go:19
Struct
Server
Server is the server for hosting this presentation.
internal/server/server.go:13
Struct
State
State tracks the current buffer, page, and total number of slides
internal/navigation/navigation.go:10
TypeAlias
cmds
cmds: Multiple commands; placeholders can be used Placeholders <file>, <name> and <path> can be used.
internal/code/languages.go:5
Struct
fileWatchMsg
internal/model/model.go:53
Struct
mockModel
internal/navigation/search_test.go:7
Struct
parsedMeta
Temporary structure to differentiate values not present in the YAML header from values set to empty strings in the YAML header. We replace values not
internal/meta/meta.go:17
Struct
query
internal/navigation/search_test.go:35
FuncType
repeatableFunc
func(slide, totalSlides int) int
internal/navigation/navigation.go:7