Packages

abstract class Highlighter extends PageProcessor

Base class for highlighters

Linear Supertypes
PageProcessor, (Page) ⇒ Unit, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Highlighter
  2. PageProcessor
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Highlighter(co: ConfiguredObject)

Abstract Value Members

  1. 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

  1. def andThen[A](g: (Unit) ⇒ A): (Page) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(page: Page): Unit
    Definition Classes
    Highlighter → Function1
  3. def compose[A](g: (A) ⇒ Page): (A) ⇒ Unit
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. def runAt: Phase
    Definition Classes
    HighlighterPageProcessor
  5. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any