abstract class Highlighter extends PageProcessor
Base class for highlighters
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Highlighter
- PageProcessor
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Highlighter(co: ConfiguredObject)
Abstract Value Members
-
abstract
def
highlightTextAsHTML(text: String, lang: Option[String], node: Node, page: Page): HighlightResult
Convert source code or other plain text to HTML with highlighting applied.
Convert source code or other plain text to HTML with highlighting applied. Use the language name, if supplied, otherwise guess or format without highlighting.
Concrete Value Members
-
def
andThen[A](g: (Unit) ⇒ A): (Page) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(page: Page): Unit
- Definition Classes
- Highlighter → Function1
-
def
compose[A](g: (A) ⇒ Page): (A) ⇒ Unit
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
runAt: Phase
- Definition Classes
- Highlighter → PageProcessor
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any