2 posts
  • 4 Years of Membership
  • Collector Level 1
  • Exclusive Author
  • United Kingdom
paddy000
says

I’m using the documentation template given by Themeforest (Docs Template) to create some documentation.

However, I need to show some basic PHP with instructions within the file. I can’t stop the PHP from rendering, even inside

Pre

tags.

Any advice? Thanks in advance!

356 posts
  • Affiliate Level 2
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+4 more
cosmincotor
says

Replace < with &lt ; and > with &gt ; , it might help :)

note: remove the space before the ; – I had to add it so the HTML entities are displayed here

2 posts
  • 4 Years of Membership
  • Collector Level 1
  • Exclusive Author
  • United Kingdom
paddy000
says

Thanks very much :)

by
by
by
by
by
by