mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-09 19:44:56 +02:00
18 lines
690 B
TypeScript
18 lines
690 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
import type { Options } from './loader';
|
|
/**
|
|
* Preprocess the string before passing it to MDX
|
|
* This is not particularly recommended but makes it easier to upgrade to MDX 2
|
|
*/
|
|
export default function preprocessContent({ fileContent: initialFileContent, filePath, markdownConfig, admonitions, }: {
|
|
fileContent: string;
|
|
filePath: string;
|
|
markdownConfig: Options['markdownConfig'];
|
|
admonitions: Options['admonitions'] | undefined;
|
|
}): string;
|
|
//# sourceMappingURL=preprocessor.d.ts.map
|