markdowninliner

package module
v0.0.0-...-5e41a9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	FilePath string `ext:"id"`
	FileMode os.FileMode
}

type DocumentStore

type DocumentStore interface {
	Create(context.Context, *Document) error
	FindByID(ctx context.Context, ptr *Document, filePath string) (bool, error)
	DeleteByID(ctx context.Context, filePath string) error
}

type FS

type FS interface {
	fs.FS
	Write(name string)
}

type Inliner

type Inliner struct {
	FS FS
}

func (Inliner) Update

func (i Inliner) Update(name string) error

type MarkdownInlineDeclaration

type MarkdownInlineDeclaration struct {
	File                string
	FencedCodeBlockType string
	Section             string
}

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL