quality

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	ContentLength  int     `json:"contentLength"`
	HeadingCount   int     `json:"headingCount"`
	ParagraphCount int     `json:"paragraphCount"`
	ListCount      int     `json:"listCount"`
	CodeBlockCount int     `json:"codeBlockCount"`
	LinkCount      int     `json:"linkCount"`
	TextDensity    float64 `json:"textDensity"`
	Score          float64 `json:"score"`
}

func Compute

func Compute(markdown string) Metrics

Jump to

Keyboard shortcuts

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