We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The README example had the following code.
$Parsedown = new Parsedown(); echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
But this code gives me an error. Parsedown must be loaded using autoload for it to run properly.
<?php require_once __DIR__ . '/vendor/autoload.php'; $Parsedown = new Parsedown(); echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Could you please change the example to the code above?
The text was updated successfully, but these errors were encountered:
require 'parsedown.php'; is enough to require it in your current php file.
require 'parsedown.php';
Sorry, something went wrong.
No branches or pull requests
The README example had the following code.
But this code gives me an error.
Parsedown must be loaded using autoload for it to run properly.
Could you please change the example to the code above?
The text was updated successfully, but these errors were encountered: