laika.parse.code
Members list
Type members
Classlikes
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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object Annotation.typeobject AttributeName.typeobject BooleanLiteral.typeobject CharLiteral.typeobject Comment.typeobject DeclarationName.typeobject EscapeSequence.typeobject Identifier.typeobject Keyword.typeobject LiteralValue.typetrait MarkupCategoryobject Emphasized.typeobject Fence.typeobject Headline.typeobject LinkTarget.typeobject LinkText.typeobject Quote.typeobject NumberLiteral.typeobject RegexLiteral.typeobject StringLiteral.typeobject Substitution.typeobject SymbolLiteral.typetrait TagCategoryobject Name.typeobject Punctuation.typeobject TypeName.typetrait XMLCategoryobject CData.typeobject DTDTagName.typeobject ProcessingInstruction.typeShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CodeCategory.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 Objecttrait Matchableclass Any
- Known subtypes
-
trait CodeParserBaseclass CharParserclass NumericParserclass StringParserclass TagParserclass IdParserShow 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 Objecttrait Matchableclass Any
- Self type
-
CodeSpanParser.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
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ExtensionBundleclass Objecttrait Matchableclass AnyShow all
- Self type
-
SyntaxHighlighting.type