laika.parse.code

Members list

Concise view

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.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object Annotation.type
object AttributeName.type
object BooleanLiteral.type
object CharLiteral.type
object Comment.type
object DeclarationName.type
object EscapeSequence.type
object Identifier.type
object Keyword.type
object LiteralValue.type
object Emphasized.type
object Fence.type
object Headline.type
object LinkTarget.type
object LinkText.type
object Quote.type
object NumberLiteral.type
object RegexLiteral.type
object StringLiteral.type
object Substitution.type
object SymbolLiteral.type
object Name.type
object Punctuation.type
object TypeName.type
object CData.type
object DTDTagName.type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

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.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

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.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
object implicits

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type