MarkdownOpenFence

case class MarkdownOpenFence(info: String, tickStartLine: Int, backticks: String, indent: Int)

Representation for an open code block in Markdown. (open meaning the closing backticks haven't yet been parsed or they aren't at all present)

Value parameters:
backticks

the backticks string opening the fence

indent

number of spaces of indentation for the fence

info

a list of tags tied to a given code block

tickStartLine

index of the starting line on which the opening backticks were defined

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

Value members

Concrete methods

def closeFence(tickEndLine: Int, lines: Array[String]): MarkdownCodeBlock

Closes started code-fence

Closes started code-fence

Value parameters:
lines

input file sliced into lines

tickEndLine

number of the line where closing backticks are

Returns:

MarkdownCodeBlock representing whole closed code-fence

Inherited methods

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