renderer.ts 438 B

123456789101112131415
  1. import { XssOptionConfig } from '~/services/xss/xssOption';
  2. import { RehypeSanitizeOptionConfig } from '../rehype';
  3. export type RendererConfig = {
  4. isEnabledLinebreaks: boolean,
  5. isEnabledLinebreaksInComments: boolean,
  6. adminPreferredIndentSize: number,
  7. isIndentSizeForced: boolean,
  8. highlightJsStyleBorder: boolean,
  9. plantumlUri: string | null,
  10. blockdiagUri: string | null,
  11. } & XssOptionConfig & RehypeSanitizeOptionConfig;