Docs Basic
Univer Docs supports typesetting, links, images, and other rich text editing features, and supports a variety of topics.
import { createUniver, defaultTheme, LocaleType, Tools } from '@univerjs/presets' import { UniverDocsCorePreset } from '@univerjs/presets/preset-docs-core' import docsCoreEnUS from '@univerjs/presets/preset-docs-core/locales/en-US' import './style.css' import '@univerjs/presets/lib/styles/preset-docs-core.css' const { univerAPI } = createUniver({ locale: LocaleType.EN_US, locales: { enUS: Tools.deepMerge( {}, docsCoreEnUS, ), }, theme: defaultTheme, presets: [ UniverDocsCorePreset(), ], }) univerAPI.createUniverDoc({})