listtype

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LowerAlpha Use lowercase letters for numbering (a, b, c, d...). Suitable for sublists
	// and nested enumeration where alphabetical ordering is preferred.
	LowerAlpha = ListType("a")

	// UpperAlpha Use uppercase letters for numbering (A, B, C, D...). Often used for major
	// section headings or primary list items in formal documents.
	UpperAlpha = ListType("A")

	// LowerRoman Use lowercase Roman numerals (i, ii, iii, iv...). Traditional academic and
	// legal document formatting for subsections and detailed enumerations.
	LowerRoman = ListType("i")

	// UpperRoman Use uppercase Roman numerals (I, II, III, IV...). Formal document structure
	// for major sections, chapters, or primary divisions.
	UpperRoman = ListType("I")

	// Decimal Use decimal numbers (1, 2, 3, 4...). Default and most common numbering system
	// for ordered lists and sequential item enumeration.
	Decimal = ListType("1")
)

Variables for ListType values

Functions

This section is empty.

Types

type ListType

type ListType []byte

ListType Numbering type for list items in ordered lists. Controls the character style used for displaying list item numbers or bullets in ordered list contexts.

func Custom

func Custom(value string) ListType

Custom allows setting a custom ListType value for edge cases or future specifications. Use this when the predefined constants don't cover your specific use case.

Jump to

Keyboard shortcuts

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