mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-28 05:58:38 +02:00
fix(mdx-loader): get correct error line numbers, handle front matter + contentTitle with remark (#9386)
This commit is contained in:
parent
35441b38e4
commit
d86aa0da5f
7 changed files with 617 additions and 24 deletions
|
@ -17,7 +17,7 @@ import type {Heading, Literal} from 'mdast';
|
|||
import type {Transformer} from 'unified';
|
||||
|
||||
// TODO as of April 2023, no way to import/re-export this ESM type easily :/
|
||||
// This might change soon, likely after TS 5.2
|
||||
// TODO upgrade to TS 5.3
|
||||
// See https://github.com/microsoft/TypeScript/issues/49721#issuecomment-1517839391
|
||||
// import type {Plugin} from 'unified';
|
||||
type Plugin = any; // TODO fix this asap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue