diff --git a/README.md b/README.md index b7b6fb6..a0092c1 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,8 @@ Here are the accepted types and their preview : ![](preview/links.svg) +You can use **`none`** to make an invisible link. + (soon) ### Font styles diff --git a/test/rendering.test.js b/test/rendering.test.js index 79945d1..8e618a1 100644 --- a/test/rendering.test.js +++ b/test/rendering.test.js @@ -125,6 +125,10 @@ describe('getLinkPath (non-regression)', () => { }); }); }); + + test('none', () => { + expect(rendering().getLinkPath('none', 1)).toEqual(null); + }); }); describe('getBounds', () => {