Implement new MFM syntax
This commit is contained in:
parent
42fbc7ab66
commit
d456e5e45c
5 changed files with 49 additions and 1 deletions
|
@ -31,6 +31,14 @@ describe('Text', () => {
|
|||
], tokens);
|
||||
});
|
||||
|
||||
it('big', () => {
|
||||
const tokens = analyze('***Strawberry*** Pasta');
|
||||
assert.deepEqual([
|
||||
{ type: 'big', content: '***Strawberry***', bold: 'Strawberry' },
|
||||
{ type: 'text', content: ' Pasta' }
|
||||
], tokens);
|
||||
});
|
||||
|
||||
it('mention', () => {
|
||||
const tokens = analyze('@himawari お腹ペコい');
|
||||
assert.deepEqual([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue