markdown_generators

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMarkdownGenerator

func NewMarkdownGenerator(config *MarkdownConfig) contracts.IMarkdownGenerator

NewMarkdownGenerator NewCodeAnalyzer initializes a new CodeAnalyzer.

Types

type MarkdownConfig

type MarkdownConfig struct {
	Theme      string `mapstructure:"theme"`
	DiffViewer string `mapstructure:"diff_viewer"`
}

func (*MarkdownConfig) ExtractCodeChanges

func (m *MarkdownConfig) ExtractCodeChanges(text string) ([]models.CodeChange, error)

func (*MarkdownConfig) GenerateDiff

func (m *MarkdownConfig) GenerateDiff(change models.CodeChange) error

GenerateDiff Run diff to show the difference between original file and temp file

func (*MarkdownConfig) GenerateMarkdown

func (m *MarkdownConfig) GenerateMarkdown(results string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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