lib

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package lib exposes the Ferret-facing WEB::ARTICLE functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(ctx context.Context, args ...runtime.Value) (runtime.Value, error)

Extract returns the normalized article object for the provided HTML.

func Markdown

func Markdown(ctx context.Context, args ...runtime.Value) (runtime.Value, error)

Markdown returns only the cleaned article Markdown.

func RegisterLib

func RegisterLib(ns runtime.Namespace)

RegisterLib registers the WEB::ARTICLE namespace functions.

func Text

func Text(ctx context.Context, args ...runtime.Value) (runtime.Value, error)

Text returns only the cleaned article text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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