furit

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageFinder

type ImageFinder interface {
	// Find finds image files and returns paths to the program.
	Find(root string) ([]string, error)
}

ImageFinder finds image files

var Image ImageFinder = (*imageFinder)(nil)

Image is the finder of image files.

type ImageLinkFinder

type ImageLinkFinder interface {
	// Find converts the path of images referenced by text to paths relative to the program and returns it.
	Find(root string) ([]string, error)
}

ImageLinkFinder will search files and find image links.

var HTML ImageLinkFinder = (*html)(nil)

HTML is the finder of image link from html files.

var Markdown ImageLinkFinder = (*markdown)(nil)

Markdown is the finder of image link from markdown files.

Jump to

Keyboard shortcuts

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