UNPKG

html-to-md

Version:

A JS library for convert HTML<String> to markdown<String>, gzip 10kb

9 lines (7 loc) 170 B
import Hr from '../../src/tags/hr' describe('test <hr></hr> tag',()=>{ it('self-close',()=>{ let hr=new Hr("<hr />") expect(hr.exec()).toBe("\n---\n") }) })