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
I believe the parameters in the function header have to be switched around.
Wrong:
public function markdownFunction($context = false, $string, $block = true)
Better:
public function markdownFunction($string, $block = true, $context = false)
This twig code fragment throws an error:
{% markdown *} **bold?** {% endmarkdown %}
grav/system/src/Grav/Common/Twig/TwigExtension.php
Line 619 in ed87faa
The text was updated successfully, but these errors were encountered:
That is not markdown function but a twig tag issue.
Sorry, something went wrong.
Issue was introduced 10.8.2019 in revision 618a599.
Fixed broken markdown Twig tag [#2635]
e5cedd0
Fixed in latest release
mahagr
No branches or pull requests
I believe the parameters in the function header have to be switched around.
Wrong:
Better:
Simple testcase
This twig code fragment throws an error:
grav/system/src/Grav/Common/Twig/TwigExtension.php
Line 619 in ed87faa
The text was updated successfully, but these errors were encountered: