MarkdownCodeBlock

case class MarkdownCodeBlock(info: Seq[String], body: String, startLine: Int, endLine: Int)

Representation for a (closed) code block contained in Markdown

Value parameters:
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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def isRaw: Boolean
Returns:

true if this snippet is a raw snippet, false otherwise

def isTest: Boolean
Returns:

true if this snippet is a test snippet, false otherwise

def resetScope: Boolean
Returns:

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

def shouldIgnore: Boolean
Returns:

true if this snippet should be ignored, false otherwise

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product