Skip to content

Commit

Permalink
revert: replace section plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jrson83 committed Jul 15, 2024
1 parent 882d7b9 commit c8fdbeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/unified/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export { toString } from 'npm:[email protected]'
export { findAfter } from 'npm:[email protected]'
export { CONTINUE, EXIT, SKIP, visit } from 'npm:[email protected]'

export { default as rehypeSlugAnchorSectionize } from '#plugins/_deprecated/rehype-slug/mod.ts'
export { default as rehypeCopyCode } from '#plugins/unified/rehype/rehypeCopyCode.ts'
export { default as rehypeSlugAnchorSectionize } from '#plugins/unified/rehype/rehypeSlugAnchorSectionize.ts'
export { default as rehypeImgSize } from 'npm:[email protected]'
export type { Test } from 'npm:[email protected]'
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
// @ts-nocheck
// deno-lint-ignore-file -- The plugin is deprecated in favour of: https://www.npmjs.com/package/rehype-slug-anchor-sectionize
import type { Element, Root } from 'npm:@types/[email protected]'
import {
findAfter,
slug,
type Test,
toString as hastToString,
unified,
visit,
} from '../../unified/deps.ts'
} from '#plugins/unified/deps.ts'
import type { Element, Root } from 'npm:@types/[email protected]'

export interface RehypeSlugAnchorSectionizeOptions {
/** The heading level depth to sectionize. defaults to `3` */
Expand Down

0 comments on commit c8fdbeb

Please sign in to comment.