Documentation ¶
Index ¶
- Variables
- type CDocument
- type CFeature
- func (f *CFeature) AddSearchDocumentMapping(tag language.Tag, indexMapping *mapping.IndexMappingImpl)
- func (f *CFeature) Extensions() (extensions []string)
- func (f *CFeature) IndexDocument(pg feature.Page) (out interface{}, err error)
- func (f *CFeature) Init(this interface{})
- func (f *CFeature) Label() (label string)
- func (f *CFeature) Make() Feature
- func (f *CFeature) Name() (name string)
- func (f *CFeature) NewDocumentMapping(tag language.Tag) (doctype, analyzer string, dm *mapping.DocumentMapping)
- func (f *CFeature) Prepare(ctx context.Context, content string) (out context.Context, err error)
- func (f *CFeature) Process(ctx context.Context, content string) (html template.HTML, redirect string, err error)
- func (f *CFeature) RenderOrgMode(content string) (rendered string, err error)
- func (f *CFeature) SearchDocumentMapping(tag language.Tag) (doctype string, dm *mapping.DocumentMapping)
- func (f *CFeature) SetDefault(key, value string) MakeFeature
- func (f *CFeature) SetDefaults(settings map[string]string) MakeFeature
- func (f *CFeature) Setup(enjin feature.Internals)
- type Document
- type Feature
- type MakeFeature
Constants ¶
This section is empty.
Variables ¶
View Source
var Tag feature.Tag = "pages-formats-org"
Functions ¶
This section is empty.
Types ¶
type CDocument ¶
type CDocument struct { search.CDocument Links []string `json:"links"` Headings []string `json:"headings"` Footnotes []string `json:"footnotes"` }
func NewOrgModeDocument ¶
func (*CDocument) AddFootnote ¶
func (*CDocument) AddHeading ¶
type CFeature ¶
func (*CFeature) AddSearchDocumentMapping ¶
func (f *CFeature) AddSearchDocumentMapping(tag language.Tag, indexMapping *mapping.IndexMappingImpl)
func (*CFeature) Extensions ¶
func (*CFeature) IndexDocument ¶
func (*CFeature) NewDocumentMapping ¶
func (*CFeature) RenderOrgMode ¶
func (*CFeature) SearchDocumentMapping ¶
func (*CFeature) SetDefault ¶
func (f *CFeature) SetDefault(key, value string) MakeFeature
func (*CFeature) SetDefaults ¶
func (f *CFeature) SetDefaults(settings map[string]string) MakeFeature
type MakeFeature ¶
type MakeFeature interface { // SetDefault updates org.Configuration.DefaultSettings SetDefault(key, value string) MakeFeature // SetDefaults replaces org.Configuration.DefaultSettings SetDefaults(defaults map[string]string) MakeFeature Make() Feature }
func New ¶
func New() MakeFeature
func NewTagged ¶ added in v0.4.0
func NewTagged(tag feature.Tag) MakeFeature
Click to show internal directories.
Click to hide internal directories.