Help us shape the future of Go! Take the 2026 Go Developer Survey

htmltomarkdown

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package htmltomarkdown implements the `html-to-markdown` built-in. It reads HTML from stdin or the first positional file argument and writes CommonMark Markdown to stdout. The conversion is delegated to github.com/JohannesKaufmann/html-to-markdown/v2 (BSD-3-Clause, pure-Go).

All file I/O routes through Context.FS; stdin / stdout via Context.Stdin / Context.Stdout. The command takes no network access and is always registered (unlike `curl`).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() command.Command

New returns the html-to-markdown command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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