@mitre/nuxt-smartscript
Version:
Smart typography transformations for Nuxt - automatic superscript, subscript, and symbol formatting
17 lines (16 loc) • 1.06 kB
TypeScript
/**
* SmartScript - Smart typography transformations
*
* This module provides automatic text transformations for:
* - Trademark and registered symbols
* - Ordinal numbers
* - Chemical formulas
* - Mathematical notation
*/
export { CSS_CLASSES, DEFAULT_CONFIG, mergeConfig, validateConfig, } from './config.js';
export { createFragmentFromParts, createSubscriptElement, createSuperscriptElement, isProcessed, markAsProcessed, resetProcessingFlags, shouldExcludeElement, shouldIncludeElement, } from './dom.js';
export { createContentObserver, createDebouncedProcessor, initializeForNavigation, processContent, processElement, processTextNode, } from './engine.js';
export { configureLogger, logger, LogLevel, } from './logger.js';
export { createCombinedPattern, createPatterns, PatternExtractors, PatternMatchers, } from './patterns.js';
export { clearProcessingCaches, needsProcessing, processMatch, processText, } from './processor.js';
export type { PatternSet, ProcessingOptions, ProcessingResult, SuperscriptConfig, TextPart, } from './types.js';