summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/test/shiki.js
blob: cc5c6b7718f65433eb89e101edeff85b1de7223e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { createMarkdownProcessor } from '../dist/index.js';
import chai from 'chai';

describe('shiki syntax highlighting', async () => {
	const processor = await createMarkdownProcessor();

	it('does not add is:raw to the output', async () => {
		const { code } = await processor.render('```\ntest\n```');

		chai.expect(code).not.to.contain('is:raw');
	});
});