summaryrefslogtreecommitdiff
path: root/internal/lightgallery/block.go
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lightgallery/block.go')
-rw-r--r--internal/lightgallery/block.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/internal/lightgallery/block.go b/internal/lightgallery/block.go
deleted file mode 100644
index dade2ea..0000000
--- a/internal/lightgallery/block.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package lightgallery
-
-import "github.com/yuin/goldmark/ast"
-
-// LightGalleryBlock represents a light gallery block in the AST
-type LightGalleryBlock struct {
- ast.BaseBlock
- Images []LightGalleryImage
-}
-
-type LightGalleryImage struct {
- URL string
- Caption string
-}
-
-var KindLightGalleryBlock = ast.NewNodeKind("LightGalleryBlock")
-
-// Dump implements ast.Node.Dump
-func (n *LightGalleryBlock) Dump(source []byte, level int) {
- ast.DumpHelper(n, source, level, nil, nil)
-}
-
-// Kind implements ast.Node.Kind
-func (n *LightGalleryBlock) Kind() ast.NodeKind {
- return KindLightGalleryBlock
-}