BaseCodeHighlighter

ba.sake.hepek.prismjs.BaseCodeHighlighter
See theBaseCodeHighlighter companion object
abstract class BaseCodeHighlighter(lang: String, lineNumbers: Option[Int], lineHighlight: Option[(String, Int)], commandLine: Option[CommandLineOptions], isMarkup: Boolean) extends CodeHighlighter

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def ajax(url: String): Frag

Fetches a file from url via AJAX.

Fetches a file from url via AJAX.

Attributes

override def apply(text: String): Frag

Attributes

Definition Classes
def gist(id: String, fileName: Option[String]): Frag

Value parameters

id

Id of the Gist, e.g. "65a82e76597f2fb6c2af"

Attributes

def github(user: String, repo: String, filePath: String): Frag

Value parameters

filePath

Path of the file, e.g. "bla/index.js"

repo

User's repo, e.g. "focustube"

user

Github user, e.g. "TheAdnan"

Attributes

def inline(text: String): Frag
def jsonp(url: String, fileName: Option[String]): Frag

Fetches a file from url via JSONP. Supported sites: Github, Gist, Bitbucket
Optionally provide gist fileName

Fetches a file from url via JSONP. Supported sites: Github, Gist, Bitbucket
Optionally provide gist fileName

Attributes