dotty.tools.scaladoc.tasty.comments.markdown

Type members

Classlikes

class DocFlexmarkParser(resolveLink: String => DocLink) extends ParserExtension
Companion:
object
Companion:
class
case class DocFlexmarkRenderer(renderLink: (DocLink, String) => String) extends HtmlRendererExtension
Companion:
object
Companion:
class
class DocLinkNode(val target: DocLink, val body: String, seq: BasedSequence) extends WikiNode
case class ExtendedFencedCodeBlock(name: Option[String], codeBlock: FencedCodeBlock, compilationResult: Option[SnippetCompilationResult]) extends BlankLine
case class Section(header: Heading, body: List[Node]) extends BlankLine
object SectionRenderingExtension extends HtmlRendererExtension
case class SnippetLine(content: String, lineNo: Int, classes: Set[String], messages: Seq[String], attributes: Map[String, String])
object SnippetRenderingExtension extends HtmlRendererExtension

SnippetRenderingExtension is responsible for running an analysis for scala codeblocks in the static documentation/scaladoc comments. For each codeblock we run compiler to check whether snippet works in the newest scala version and to produce rich html codeblocks with compiler warnings/errors for IDE-like live experience.

SnippetRenderingExtension is responsible for running an analysis for scala codeblocks in the static documentation/scaladoc comments. For each codeblock we run compiler to check whether snippet works in the newest scala version and to produce rich html codeblocks with compiler warnings/errors for IDE-like live experience.