-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
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
PHP code being rendered in documentation #177
Comments
It’d be a nice to have but I wouldn’t say it’s a bug necessarily. Why are you needing to use blade syntax in markdown? Have you tried making your own vue component instead? |
I'm not sure if this is related, but I'd like to pass in variables, so that I can use the same value across all my docs and quickly/easily change it if/when it's needed. Is this possible...? |
Of course, it may be that I'm looking for this: #138 Or both.... ;-) |
Gotchya, makes sense. Seems like that issue you referenced has a solution? |
@WillGoldstein Well, it does provide a solution, but not one that I or at least one of the others here are terribly happy with. :-/ |
@telkins indeed, perhaps I should have said “workaround” instead of “solution” |
Describe the bug
When adding any blade directives inside of code blocks for my documentation, Larecipe tries to execute those code blocks as actual PHP code. If there is an undefined variable in the docs or a syntax error, the page will throw an error.
To Reproduce
Steps to reproduce the behavior:
@if
to your .md fileExpected behavior
Expected Behavior would be to see the documentation file, but instead I get an error
Screenshots
Desktop (please complete the following information):
Additional context
I just upgraded to the latest version of Larecipe and this is happening now, it was not happening when I was using version 1.0.
If anyone could help me figure this out, I would really appreciate it :) Thanks!
The text was updated successfully, but these errors were encountered: