community: github.com/documize/community/core/api/convert/html Index | Files

package html

import "github.com/documize/community/core/api/convert/html"

Package html documizes html files.

Index

Package Files

doc.go html.go

func Convert Uses

func Convert(ctx context.Context, in interface{}) (interface{}, error)

Convert provides the standard interface for conversion of an HTML document. All the function does is return a pointer to api.DocumentConversionResponse with PagesHTML set to the given (*api.DocumentConversionRequest).Filedata - so effectively a no-op.

func SplitIfHTML Uses

func SplitIfHTML(req *api.DocumentConversionRequest, res *api.DocumentConversionResponse) error

SplitIfHTML splits HTML code into pages, if it exists.

Package html imports 8 packages (graph) and is imported by 2 packages. Updated 2017-11-01. Refresh now. Tools for package owners.