docusaurus/packages/docusaurus-theme-common/src
duanwilliam 1abadbaeca
fix(v2): fix code block title parsing, support multiple metastring attributes (#4541)
* feat: lazy match classic theme code block title

* feat: allow single quotes for classic theme code block title

* refactor(v2): extract parseCodeBlockTitle function

extract `parseCodeBlockTitle` function to add tests for title parsing

* test(v2): add tests for parseCodeBlockTitle

* move code block title parser to theme-common

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-04-14 10:24:52 +02:00
..
utils fix(v2): fix code block title parsing, support multiple metastring attributes (#4541) 2021-04-14 10:24:52 +02:00
index.ts fix(v2): fix code block title parsing, support multiple metastring attributes (#4541) 2021-04-14 10:24:52 +02:00
types.d.ts feat(v2): @docusaurus/theme-common (#3775) 2020-11-18 16:00:51 +01:00