Add small syntax (#3506)
This commit is contained in:
parent
dc8f4c8d6a
commit
66836836ab
4 changed files with 38 additions and 0 deletions
|
@ -70,6 +70,15 @@ describe('Text', () => {
|
|||
], tokens);
|
||||
});
|
||||
|
||||
it('small', () => {
|
||||
const tokens = analyze('<small>smaller</small>');
|
||||
assert.deepEqual([
|
||||
nodeWithChildren('small', [
|
||||
text('smaller')
|
||||
]),
|
||||
], tokens);
|
||||
});
|
||||
|
||||
describe('motion', () => {
|
||||
it('by triple brackets', () => {
|
||||
const tokens = analyze('(((foo)))');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue