This commit is contained in:
marihachi 2021-10-17 14:33:22 +09:00
parent ffe1e3ffca
commit 051e903d43

View file

@ -38,7 +38,17 @@ after`;
it('search', () => {
const input = 'MFM 書き方 123 Search';
assert.strictEqual(mfm.toString(mfm.parse(input)), 'MFM 書き方 123 Search');
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('block code', () => {
const input = '```\nabc\n```';
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('math block', () => {
const input = '\\[\ny = 2x + 1\n\\]';
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('center', () => {