CodeSpans

laika.ast.CodeSpans
object CodeSpans

Attributes

Source
spans.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CodeSpans.type

Members list

Value members

Concrete methods

Extracts all code spans from the given span while at the same time converting all regular text nodes to code spans associated with the specified set of categories.

Extracts all code spans from the given span while at the same time converting all regular text nodes to code spans associated with the specified set of categories.

This is a fairly low-level operation, usually performed after using a generic inline parser (like InlineParsers.spans) for syntax highlighting.

Attributes

Source
spans.scala

Merges all occurrences of two or more adjacent spans with the exact same set of associated code categories.

Merges all occurrences of two or more adjacent spans with the exact same set of associated code categories.

Attributes

Source
spans.scala