markdown

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lexer

type Lexer struct {
	// contains filtered or unexported fields
}

func (*Lexer) NextToken

func (l *Lexer) NextToken() Token

type Render

type Render struct {
	// contains filtered or unexported fields
}

func NewRender

func NewRender(w int) *Render

func (*Render) RenderMarkdownLine

func (r *Render) RenderMarkdownLine(line []rune, lineIndex int, show bool, xOffset int) (string, render.Render, bool)

func (*Render) Reset

func (r *Render) Reset()

func (*Render) Resize

func (r *Render) Resize(w int)

func (*Render) Update

func (r *Render) Update()

type Token

type Token struct {
	Literal []rune
	Value   []rune
	Type    TokenType
}

type TokenType

type TokenType int

Jump to

Keyboard shortcuts

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