docusaurus/packages/docusaurus-theme-common
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
..
src fix(v2): fix code block title parsing, support multiple metastring attributes (#4541) 2021-04-14 10:24:52 +02:00
package.json chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
README.md docs(v2): Add READMEs to v2 packages (#4034) 2021-01-14 17:16:26 +01:00
tsconfig.json chore: json files should be linted (#4462) 2021-03-18 19:39:50 +01:00

@docusaurus/theme-common

Common code for Docusaurus themes.