cmd

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func HTMLtoMarkdown

func HTMLtoMarkdown(html *string) (string, error)

func MakeReadable

func MakeReadable(rawUrl *string, logger *zap.Logger) (string, string, error)

func RenderMarkdown added in v0.2.1

func RenderMarkdown(title, markdown string, images []InlineImage, width int) (string, error)

Types

type InlineImage

type InlineImage struct {
	URL   string
	Title string
}

func RenderImg

func RenderImg(md string) (string, []InlineImage, error)

Jump to

Keyboard shortcuts

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