laika.parse.code

Members list

Type members

Classlikes

sealed trait CodeCategory extends Product, 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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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
trait TagCategory
object Name.type
object Punctuation.type
object TypeName.type
trait XMLCategory
object CData.type
object DTDTagName.type
object ProcessingInstruction.type
Show all
object CodeCategory

Attributes

Companion
trait
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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CharParser
class StringParser
class TagParser
class IdParser
Show all
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
Supertypes
class Object
trait Matchable
class Any
Self type
case object SyntaxHighlighting extends ExtensionBundle

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
implicits.type