DocumentTypeMatcher

laika.bundle.DocumentTypeMatcher$

The default implementations for determining the document type of the input based on its path.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def forMarkup(fileSuffixes: Set[String]): PartialFunction[Path, DocumentType]

Creates a document type matcher that recognizes all input files with one of the specified file suffixes as a markup document.

Creates a document type matcher that recognizes all input files with one of the specified file suffixes as a markup document.

Attributes

Concrete fields

val base: PartialFunction[Path, DocumentType]

The base matcher that recognizes all file types known to Laika except text markup documents, which depend on the installed parsers and need to be created separately.

The base matcher that recognizes all file types known to Laika except text markup documents, which depend on the installed parsers and need to be created separately.

Attributes