Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Debbl committed Jan 17, 2025
1 parent 31071ac commit 515281b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "aiwan.run",
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "[email protected]",
Expand Down
1 change: 1 addition & 0 deletions packages/remark-plugins/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { remarkHeadings } from "./remark-headings";
export { remarkMdxFrontmatter } from "./remark-mdx-frontmatter";
export { remarkMdxLayout } from "./remark-mdx-layout";
export { remarkStaticImage } from "./remark-static-image";
4 changes: 4 additions & 0 deletions packages/remark-plugins/src/remark-mdx-frontmatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export interface RemarkMdxFrontmatterOptions {
* A remark plugin to expose frontmatter data as named exports.
*
* @param options Optional options to configure the output.
* @param options.name - If specified, the YAML data is exported using this name. Otherwise, each
* object key will be used as an export name.
* @param options.parsers - A mapping of node types to parsers.
* @param options.format - A function that formats the frontmatter data.
* @returns A unified transformer.
*/
const remarkMdxFrontmatter: Plugin<[RemarkMdxFrontmatterOptions?], Root> = ({
Expand Down

0 comments on commit 515281b

Please sign in to comment.