mde / ejs

Embedded JavaScript templates -- http://ejs.co
Apache License 2.0
7.71k stars 846 forks source link

please show more about "include" of documentation! #634

Open laodengjuntuan opened 2 years ago

laodengjuntuan commented 2 years ago

it is too less to understand how to use it correctly.

laodengjuntuan commented 2 years ago

I follow the documentation to write code,like this<% include('menu') %>,but that part does not appear in my page. However, <%# include menu %> is fine. it is weird! Could you give me more exact explanation and documentation? thanks

RogueVoo commented 2 years ago

Use <%- include('menu') %> - for raw output.