Open jonschlinkert opened 10 years ago
clarify?
technically I already did this, so I should probably mark it complete. one example is that marked.js adds ids to headings, which makes no sense to do by default. we sometimes get duplicate ids on a page because of it.
I want to make it easier for the user to customize these things: https://github.com/jonschlinkert/remarked/blob/master/lib/renderer.js#L60-L67. I'm not sure if lodash templates is the way to go yet, but I created a few to test out https://github.com/jonschlinkert/remarked/blob/master/lib/templates/heading.js
Oooh.. yep, good approach. Thanks for clarification.
e.g. heading ids (started)