object MarkdownCodeBlock
- Companion:
- class
Type members
Value members
Concrete methods
def findCodeBlocks(subPath: SubPath, md: String, maybeRecoverOnError: BuildException => Option[BuildException]): Either[BuildException, Seq[MarkdownCodeBlock]]
Finds all code snippets in given input
Finds all code snippets in given input
- Value parameters:
- maybeRecoverOnError
function potentially recovering on errors
- md
Markdown file in a
String
format- subPath
the project os.SubPath to the Markdown file
- Returns:
list of all found snippets