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.
Click to show internal directories.
Click to hide internal directories.