mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
Clicking on toc items generated from the documentation.yaml file didnt work. The target id was not properly slugged. Always slug your target. Very important.
11 lines
199 B
Plaintext
11 lines
199 B
Plaintext
<section class='py2 clearfix'>
|
|
|
|
<h2 id='<%- slug(note.namespace) %>' class='mt0'>
|
|
<%- note.name %>
|
|
</h2>
|
|
|
|
<% if (note.description) { %>
|
|
<%= md(note.description) %>
|
|
<% } %>
|
|
</section>
|