Searched refs:MarkdownPart (Results 1 – 1 of 1) sorted by relevance
103 if (directive != null && markdownPart == MarkdownPart.TOC) { in knit()104 markdownPart = MarkdownPart.POST_TOC in knit()111 … require(markdownPart == MarkdownPart.PRE_TOC) { "Only one TOC directive is supported" } in knit()112 markdownPart = MarkdownPart.TOC in knit()216 if (inLine.startsWith(SECTION_START) && markdownPart == MarkdownPart.POST_TOC) { in knit()412 enum class MarkdownPart { PRE_TOC, TOC, POST_TOC } class418 var markdownPart: MarkdownPart = MarkdownPart.PRE_TOC423 MarkdownPart.PRE_TOC -> preTocText424 MarkdownPart.POST_TOC -> postTocText435 if (!skip && markdownPart != MarkdownPart.TOC) in readLine()