Using Torchlight in a blade template. #2273
Replies: 2 comments
-
Hi @DannyvdSluijs! This is absolutely something that should work! I'm thinking the |
Beta Was this translation helpful? Give feedback.
-
I've done some investigation and found that the correct component is However out of the box this doesn't render the expected output:
Which is also mentioned on the website which is caused by the middleware not being registered. Middleware however isn't supported by Laravel Zero (the framework powering Hyde PHP). This is where my research has led me until now. Perhaps others want to chime in with their knowledge. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, Thanks for the work done on HydePHP. Love it and recently started to use it for JSON Schema for PHP documentation website.
One thing I could not get working was using Torchlight in a blade template. I've an example on the index page which doesn't seem to picked up by Torchlight.
I've tried so fare getting it to work using:
<code>
elementx-torchlight-code
as suggested on their website. - The Laravel error page is shown informing about the missing component.I don't feel like creating some inline markdown with code fences would be the correct approach to this problem,
Am I correct in my findings and would this be something worth pursuing on getting working as a feature? I'm not aiming to get help on my issue but more a validation check this is missing, before I would look into getting this to work. There is a fair chance others would like to use this as well.
Beta Was this translation helpful? Give feedback.
All reactions