UNPKG

@mitre/nuxt-smartscript

Version:

Smart typography transformations for Nuxt - automatic superscript, subscript, and symbol formatting

42 lines (41 loc) 1.29 kB
/** * Nuxt SmartScript Plugin * Automatic typography transformations for better readability */ import type { SuperscriptConfig } from './smartscript/index.js'; declare const _default: import("nuxt/app").Plugin<{ smartscript: { process: () => void; startObserving: () => void; stopObserving: () => void; getConfig: () => SuperscriptConfig; updateConfig: (newConfig: Partial<SuperscriptConfig>) => boolean; reset: () => void; getStats: () => { processedElements: number; superscripts: number; subscripts: number; trademarks: number; registered: number; total: number; }; }; }> & import("nuxt/app").ObjectPlugin<{ smartscript: { process: () => void; startObserving: () => void; stopObserving: () => void; getConfig: () => SuperscriptConfig; updateConfig: (newConfig: Partial<SuperscriptConfig>) => boolean; reset: () => void; getStats: () => { processedElements: number; superscripts: number; subscripts: number; trademarks: number; registered: number; total: number; }; }; }>; export default _default;