summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-markdown/test/inline.js
blob: 834fd3fe59e7a7b8da46e2934a69f6e28b7a774b (plain)
1
2
3
4
5
6
7
8
9
const expect = require('expect');
const inline = require('../src').inline;

describe('Inline', () => {
    it('should render inline markdown', () => {
        const parsed = inline('Hello **World**');
        expect(parsed.content).toBe('Hello <strong>World</strong>');
    });
});