Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Markdown for Fuel
  • Is there a special a way to load external libraries like Markdown and use it in my app? Or it's enough to do this:
    include_once "/path/to/markdown.php";
    $content_formatted = Markdown($content);
    
  • That works. You can just make app/classes/markdown.php so it autoloads.
  • When you say "just", do you mean create a Fuel-style class in that file, linking to the library or change the library to match Fuel?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion