From 60575c26198f8df1a4fc237928cd4ba6469c5bea Mon Sep 17 00:00:00 2001 From: Gleb Voitenko Date: Thu, 29 Aug 2024 13:03:27 +0300 Subject: [PATCH] chore: readme change --- README.MD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index 59913bd..03c2b28 100644 --- a/README.MD +++ b/README.MD @@ -10,6 +10,8 @@ The Diplodoc ecosystem consists of many packages that have similar problems and ## Table of contents +- [AttrsParser](#AttrsParser) + ### AttrsParser ### Purpose @@ -21,7 +23,7 @@ Support [markdown-it-attrs](https://github.com/arve0/markdown-it-attrs)-like att ```typescript /* optional first query - if provided parser will parse it imminently + if provided parser will parse it immediately each 'parse' call is pure */ const attrs = new AttrsParser('{.class #id data-name=diplodoc}'); @@ -30,6 +32,6 @@ Support [markdown-it-attrs](https://github.com/arve0/markdown-it-attrs)-like att const other = attrs.parse('{data-wide title="Support quotes too"}') - other /* { attr: ['data-wide'], title: ['Support quotes too'] } + other /* { attr: ['data-wide'], title: ['Support quotes too'] } */ ```