mdn/markdown

edge case: empty note card

Closed this issue · 1 comments

case:

<div class="note"></div>

This will occur a error when parsing (Cannot read properties of undefined). Should we ignore an empty notecard or raise a problem.

One more thing: maybe we should add a catch to help users find which document has occur an error (with slug and error.message)