Add h4 formatting for markdown formatter

This commit is contained in:
2025-11-02 01:57:23 +01:00
parent 5433811176
commit 551924950f

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.
* *