MarkdownCodeBlock

scala.build.internal.markdown.MarkdownCodeBlock
See theMarkdownCodeBlock companion object
case class MarkdownCodeBlock(info: Seq[String], body: String, startLine: Int, endLine: Int)

Representation for a (closed) code block contained in Markdown

Attributes

body

the code block content

endLine

end line on which the code block was closed (excluding backticks)

info

a list of tags tied to a given code block

startLine

starting line on which the code block was defined (excluding backticks)

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def isRaw: Boolean

Attributes

Returns:

true if this snippet is a raw snippet, false otherwise

def isTest: Boolean

Attributes

Returns:

true if this snippet is a test snippet, false otherwise

def resetScope: Boolean

Attributes

Returns:

true if this snippet should have its scope reset, false otherwise

def shouldIgnore: Boolean

Attributes

Returns:

true if this snippet should be ignored, false otherwise

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product