scala.build.internal.markdown

Type members

Classlikes

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

Representation for a (closed) code block contained in Markdown

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
Companion:
class

A util for extraction and wrapping of code blocks in Markdown files.

A util for extraction and wrapping of code blocks in Markdown files.

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)

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
Companion:
class