If I put any character has a special meaning in markdown, into the describe message. Run Mocha with -R md .The output markdown will have wrong semantic with any special character in messages.
Just write test like this:
describe('***', function() {
describe('\\\\', function() {
it('>>> should be escaped');
});
});
Markdown would have:
# TOC
- [***](#)
- [\\](#-)
<a name=""></a>
<a name=""></a>
# ***
<a name="-"></a>
## \\
The special characters changed markdown output's semantic, finally brings out a strange look.
If I put any character has a special meaning in markdown, into the
describemessage. Run Mocha with-R md.The output markdown will have wrong semantic with any special character in messages.Just write test like this:
Markdown would have:
The special characters changed markdown output's semantic, finally brings out a strange look.