klyn.code.klyn.KlynDocComment.implicitExampleText
method
public static implicitExampleText(text as String) as String
Description

Extracts trailing fenced code blocks ( ) placed after @ tags when no explicit @example` tag is used.

Parameters
ParameterDescription
textCleaned documentation text.
Returns

Implicit example fenced code block text, or "".

Example
import klyn.code.klyn

doc = "Summary.\n@return Value.\n```klyn\nassert true\n```"
assert "assert true" in KlynDocComment.implicitExampleText(doc)