laika.parse.code

Type members

Classlikes

sealed trait CodeCategory extends Product with Serializable

Represents a category that can be assigned to a span inside a code block to facilitate syntax highlighting.

Represents a category that can be assigned to a span inside a code block to facilitate syntax highlighting.

Companion:
object
Companion:
class

A collection of code span parsers that are intended to be applied together.

A collection of code span parsers that are intended to be applied together.

Companion:
object

Companion with a range of convenient constructors for creating CodeSpanParsers instances, based on existing parser instances or simple specifications of start and end delimiters.

Companion with a range of convenient constructors for creating CodeSpanParsers instances, based on existing parser instances or simple specifications of start and end delimiters.

Companion:
class

Extension that registers all code syntax highlighters provided out of the box.

Extension that registers all code syntax highlighters provided out of the box.

The extension can be added to a transformer like any other extension:

val transformer = Transformer
 .from(Markdown)
 .to(HTML)
 .using(GitHubFlavor)
 .using(SyntaxHighlighting)
 .build
object implicits