Function format_title
Source fn format_title(file_name: &str) -> String
Expand description
Formats the file name to create a title for the HTML document
§Arguments
file_name
- The name of the file, typically ending with .md
.
§Returns
The formatted title (i.e. “my_test_page.md” -> “My Test Page”)