Documentation
Table of Contents
Functions
- markdownConverter() : string
- Convert a markdown file to HTML and return the result.
- markdownIntegration() : void
- Prepapre the integration of a Markdown file into info.html.
Functions
markdownConverter()
Convert a markdown file to HTML and return the result.
markdownConverter(string $file_path) : string
Parameters
- $file_path : string
-
Full path for the file to use, including extension.
Return values
string —An HTML-formatted string
markdownIntegration()
Prepapre the integration of a Markdown file into info.html.
markdownIntegration(string $file_path) : void
Headers are incremented by one level. File name become an ID.
Parameters
- $file_path : string
-
Full path for the file to use, including extension (should be ".md")