mdparser

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseMarkdownChart

func ParseMarkdownChart(markdown string) (string, error)

ParseMarkdownChart parses a chart specification from markdown text format and returns an SVG representation of the chart.

Types

type ChartDefinition added in v0.3.0

type ChartDefinition struct {
	ChartType string
	Title     string
	Width     int
	Height    int
	Colors    []string
	Data      []float64
	Labels    []string
}

ChartDefinition represents a parsed chart definition

Jump to

Keyboard shortcuts

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