mirror of
https://github.com/markedjs/marked
synced 2024-11-22 17:37:24 +00:00
7 lines
157 B
JavaScript
Vendored
7 lines
157 B
JavaScript
Vendored
import '../lib/marked.umd.js';
|
|
|
|
// eslint-disable-next-line no-undef
|
|
if (!marked.parse('# test').includes('<h1')) {
|
|
throw new Error('Invalid markdown');
|
|
}
|