Closed peterszerzo closed 3 months ago
Added the option to use templating languages to customize the contents of the toc anchor tags.
Example: $('.toc').toc({ templates: { h2: _.template('<%= title %></di v>') } });
:+1:
Added the option to use templating languages to customize the contents of the toc anchor tags.
Example: $('.toc').toc({ templates: { h2: _.template('<%= title %></di v>')
}
});