Documentation

markdown_converter.php

\file \brief Simple Mardown to HTML utility file.

PHP version 8.1

Tags
category

Documentation

author

HugoFara hugo.farajallah@protonmail.com

license

Unlicense http://unlicense.org/

link
https://hugofara.github.io/lwt/docs/html/markdown__converter_8php.html
since
2.0.3-fork

Table of Contents

Functions

markdown_converter()  : string
Convert a markdown file to HTML and return the result.
markdown_integration()  : void
Prepapre the integration of a Markdown file into info.html.

Functions

markdown_converter()

Convert a markdown file to HTML and return the result.

markdown_converter(string $file_path) : string
Parameters
$file_path : string

Full path for the file to use, including extension.

Return values
string

An HTML-formatted string

markdown_integration()

Prepapre the integration of a Markdown file into info.html.

markdown_integration(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")


        
On this page

Search results