markdown

package module
v0.0.0-...-771c986 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

markdown

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteWithFileWrite

func WriteWithFileWrite(name, content string)

使用os.OpenFile()相关函数打开文件对象,并使用文件对象的相关方法进行文件写入操作 清空一次文件

Types

type MarkDown

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

func NewMarkDown

func NewMarkDown(name, path string) *MarkDown

func (*MarkDown) Save

func (md *MarkDown) Save()

func (*MarkDown) WriteCode

func (md *MarkDown) WriteCode(contents string, language string)

func (*MarkDown) WriteContent

func (md *MarkDown) WriteContent(content string)

func (*MarkDown) WriteForm

func (md *MarkDown) WriteForm(contents [][]string)

func (*MarkDown) WriteImportantContent

func (md *MarkDown) WriteImportantContent(content string)

func (*MarkDown) WriteTitle

func (md *MarkDown) WriteTitle(level int, content string)

Jump to

Keyboard shortcuts

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