Compare commits

..

1 Commits

Author SHA1 Message Date
551924950f Add h4 formatting for markdown formatter 2025-11-02 01:57:23 +01:00

View File

@@ -77,6 +77,19 @@ final class MDFormatter {
} }
/**
* Applies markdown formatting for fourth level headline.
*
* @param string $input Headline text.
*
* @return string
*/
public static function formatMarkdownHeadline4(string $input):string {
return '#### ' . $input . PHP_EOL;
}
/** /**
* Returns a horizontal rule in markdown. * Returns a horizontal rule in markdown.
* *