/** * Remark plugin to support superscript (^text^) and subscript (~text~) syntax. * Compatible with unified 11 / remark-parse 11 / micromark architecture. * * Syntax: * - Superscript: ^text^ → text * - Subscript: ~text~ → text * * Note: Single ~ is used for subscript (different from GFM's ~~ for strikethrough) */ import type { Plugin } from 'unified'; import type { Root } from 'mdast'; /** * Remark plugin to support superscript and subscript syntax. */ declare const remarkSuperSub: Plugin<[], Root>; export default remarkSuperSub;