How does nunjucks render parameters within labels?

  mongodb, question
{% for item in list %}
 <li onclick="edit(【item._id】)" data-id="">
 <p class="content">{{ item.title }}</p>
 <p class="date">{{ item.createdAt }}</p>
 </li>
 {% endfor %}

In the above code, how do I pass _id in item as a parameter to the parameter in edit event?

<li onclick="edit({{item._id}})" data-id="">