I can’t find any information on how to use the code snippet { some code } feature! Can anyone share any insight on this development feature? Thanks
You use it to place inline code in a text block, it could be javascript, but more commonly you will have some php there that spits out the results of a calculation or some database lookup based on the query string.
1 Like
I was experimenting with the developer feature to return the results of a simple die roll so I created a custom code snippet with a php script before the html and a code snippet that calls out the calculation. I am not able to see the result, and on inspection the code snippet gets commented out
Thank you, it worked.