Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditorRuntime ¶
type EditorRuntime struct {
// 打开配置文件的编辑器命令
EditorPath string
// 打开配置文件的编辑器参数
EditorParams []string
}
EditorRuntime 编辑器相关的参数
type LogRuntime ¶
LogRuntime 日志参数
type MDRuntime ¶
type MDRuntime struct {
// 参考:https://gitlab.com/golang-commonmark/markdown
// 是否允许 HTML 标签
EnableHTMLTag bool
// 是否开启 XHTMLOutput
EnableXHTMLOutput bool
}
MDRuntime 与 markdown 解析时相关的参数
type PageParams ¶
type PageParams struct {
// 打印页面格式
PageFormat string
// 打印页面方向
PageOrientation string
// 打印边距
PageMargin string
}
PageParams 打印页面参数
Click to show internal directories.
Click to hide internal directories.