Help with using PHP Markdown

Hello,
I’m trying to get a very very basic blog working. I’m wanting to use PHP Markdown (http://michelf.ca/projects/php-markdown/) to turn my markdown text files into html.

The website for the PHP Markdown gives the code below but I don’t know how/where to use it.

[php]
include_once “markdown.php”;
$my_html = Markdown($my_text);
[/php]

I’m just looking to get it to parse any file that ends in .text to html and then output a .html with the same corresponding filename.

Ex. If I have test.text I want markdown.php to parse it and then spit out a html file called test.html

Can you please help?

Anyone? Is this forum dead?

Never really used it. What errors is it giving?

Hello,

 It's not giving me any errors. I just don't know how to get it to work. Do I put that line at the top my .text file and it'll output a .html or?

I appericiate your help,
Blue

Did you upload the files to the folders it indicated on the website?

Sponsor our Newsletter | Privacy Policy | Terms of Service