converter

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(filepath string) (model.Article, error)

func TransformAlbums added in v1.2.5

func TransformAlbums(htmlStr, idPrefix, staticDir string, firstSeen *bool) (string, error)

func TransformImages added in v1.2.5

func TransformImages(htmlStr, staticDir string, firstSeen *bool) (string, error)

Types

type ConvertResult

type ConvertResult struct {
	ConvertedPaths []string
	Duration       time.Duration
	ConvertedCount int
	UpToDateCount  int
	DeletedCount   int
	// contains filtered or unexported fields
}

func Convert

func Convert(inputPath, outputPath string, reconvert bool) (ConvertResult, error)

func (ConvertResult) String

func (r ConvertResult) String() string

Jump to

Keyboard shortcuts

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