SYMBOL INDEX (340 symbols across 78 files) FILE: apps/vscode/src/extension.ts function activate (line 12) | function activate(context: vscode.ExtensionContext) { function wrapHtmlTag (line 127) | function wrapHtmlTag(html: string, css: string) { FILE: apps/vscode/src/treeDataProvider.ts class MarkdownTreeDataProvider (line 5) | class MarkdownTreeDataProvider implements vscode.TreeDataProvider { method updateFontSize (line 154) | updateFontSize(size: string) { method updateTheme (line 160) | updateTheme(theme: ThemeName) { method updatePrimaryColor (line 166) | updatePrimaryColor(color: string) { method updateFontFamily (line 172) | updateFontFamily(font: string) { method getCurrentFontSize (line 178) | getCurrentFontSize() { method getCurrentFontSizeNumber (line 182) | getCurrentFontSizeNumber() { method getCurrentTheme (line 186) | getCurrentTheme(): ThemeName { method getCurrentPrimaryColor (line 190) | getCurrentPrimaryColor() { method getCurrentFontFamily (line 194) | getCurrentFontFamily() { FILE: apps/vscode/webpack.config.mjs function config (line 13) | function config() { FILE: apps/web/plugins/vite-plugin-utools-local-assets.ts function utoolsLocalAssetsPlugin (line 7) | function utoolsLocalAssetsPlugin(): Plugin { FILE: apps/web/src/components/ai/tool-box/index.ts function useAIPolish (line 5) | function useAIPolish() { FILE: apps/web/src/components/ui/alert/index.ts type AlertVariants (line 24) | type AlertVariants = VariantProps FILE: apps/web/src/components/ui/button/index.ts type ButtonVariants (line 36) | type ButtonVariants = VariantProps FILE: apps/web/src/composables/useEditorFormat.ts function useEditorFormat (line 19) | function useEditorFormat(editor: T) { FILE: apps/web/src/composables/useFolderFileSync.ts function useFolderFileSync (line 8) | function useFolderFileSync() { FILE: apps/web/src/composables/useImageUploader.ts constant STORAGE_KEY (line 6) | const STORAGE_KEY = 'uploaded_image_map' function useImageUploader (line 8) | function useImageUploader() { FILE: apps/web/src/entrypoints/appmsg.content.ts method main (line 5) | async main() { FILE: apps/web/src/entrypoints/background.ts method main (line 5) | main() { FILE: apps/web/src/lib/utils.ts function cn (line 5) | function cn(...inputs: ClassValue[]) { FILE: apps/web/src/modules/build-extension.ts type AddedViteConfig (line 13) | type AddedViteConfig = ReturnType[1]> type AddedVitePlugins (line 14) | type AddedVitePlugins = NonNullable['plugin... method setup (line 17) | async setup(wxt) { constant SCRIPT_FILE_NAME_REGEX (line 71) | const SCRIPT_FILE_NAME_REGEX = /\/([^/]+)\.js$/ function isDefined (line 73) | function isDefined(value: T | undefined): value is T { function toWxtPluginOptions (line 77) | function toWxtPluginOptions( function htmlScriptToVirtual (line 83) | function htmlScriptToVirtual( function htmlScriptToLocal (line 163) | function htmlScriptToLocal( function vueDevtoolsHack (line 234) | function vueDevtoolsHack( function doFetch (line 262) | async function doFetch( FILE: apps/web/src/sidepanel.ts type Tab (line 7) | interface Tab { function getCurrentTab (line 19) | async function getCurrentTab() { FILE: apps/web/src/stores/aiConfig.ts method get (line 46) | get() { method set (line 50) | set(val: string) { FILE: apps/web/src/stores/aiImageConfig.ts method get (line 46) | get() { method set (line 50) | set(val: string) { method get (line 76) | get() { method set (line 80) | set(val: string) { FILE: apps/web/src/stores/cssEditor.ts constant DEFAULT_CSS_CONTENT (line 8) | const DEFAULT_CSS_CONTENT = DEFAULT_CUSTOM_THEME type CssContentConfig (line 13) | interface CssContentConfig { FILE: apps/web/src/stores/folderSource.ts type FileSystemNode (line 4) | interface FileSystemNode { type RuntimeFolderInfo (line 15) | interface RuntimeFolderInfo { function selectFolder (line 83) | async function selectFolder() { function closeFolder (line 148) | function closeFolder() { function removeFolder (line 157) | function removeFolder(folderId: string) { function loadFileTree (line 169) | async function loadFileTree(handle: FileSystemDirectoryHandle): Promise<... function buildFileTree (line 183) | async function buildFileTree( function readFile (line 234) | async function readFile(filePath: string): Promise { function writeFile (line 264) | async function writeFile(filePath: string, content: string): Promise { function copyPlain (line 23) | async function copyPlain(text: string): Promise { function copyHtml (line 35) | async function copyHtml(html: string, fallback?: string): Promise { FILE: apps/web/src/utils/file.ts function getConfig (line 14) | async function getConfig(useDefault: boolean, platform: string) { function getDir (line 53) | function getDir() { function getDateFilename (line 66) | function getDateFilename(filename: string) { function ghFileUpload (line 77) | async function ghFileUpload(content: string, filename: string) { function giteeUpload (line 122) | async function giteeUpload(content: any, filename: string) { function getQiniuToken (line 157) | function getQiniuToken(accessKey: string, secretKey: string, putPolicy: { function qiniuUpload (line 168) | async function qiniuUpload(file: File) { function aliOSSFileUpload (line 197) | async function aliOSSFileUpload(file: File) { function txCOSFileUpload (line 261) | async function txCOSFileUpload(file: File) { function minioFileUpload (line 326) | async function minioFileUpload(file: File) { constant PROTOCOL_REGEX (line 360) | const PROTOCOL_REGEX = /^https?:\/\// function s3Upload (line 362) | async function s3Upload(file: File) { type MpResponse (line 441) | interface MpResponse { function getMpToken (line 447) | async function getMpToken(appID: string, appsecret: string, proxyOrigin:... function mpFileUpload (line 481) | async function mpFileUpload(file: File) { function r2Upload (line 529) | async function r2Upload(file: File) { function upyunUpload (line 554) | async function upyunUpload(file: File) { function telegramUpload (line 587) | async function telegramUpload(file: File): Promise { function cloudinaryUpload (line 645) | async function cloudinaryUpload(file: File): Promise { function formCustomUpload (line 713) | async function formCustomUpload(content: string, file: File) { function fileUpload (line 754) | async function fileUpload(content: string, file: File) { FILE: apps/web/src/utils/index.ts function addPrefix (line 41) | function addPrefix(str: string) { function downloadMD (line 50) | function downloadMD(doc: string, title: string = `untitled`) { function getHtmlContent (line 59) | function getHtmlContent(): string { function exportHTML (line 67) | async function exportHTML(title: string = `untitled`) { function generatePureHTML (line 93) | async function generatePureHTML(raw: string): Promise { function exportPureHTML (line 108) | async function exportPureHTML(raw: string, title: string = `untitled`) { function exportPDF (line 120) | async function exportPDF(title: string = `untitled`) { function solveWeChatImage (line 192) | function solveWeChatImage() { function getHljsStyles (line 214) | async function getHljsStyles(): Promise { function getThemeStyles (line 230) | function getThemeStyles(): string { function mergeCss (line 254) | function mergeCss(html: string): string { function modifyHtmlStructure (line 264) | function modifyHtmlStructure(htmlString: string): string { function createEmptyNode (line 276) | function createEmptyNode(): HTMLElement { function getStylesToAdd (line 289) | async function getStylesToAdd(): Promise { function processClipboardContent (line 295) | async function processClipboardContent(primaryColor: string) { FILE: apps/web/src/utils/setup-components.ts class MpCommonProfile (line 1) | class MpCommonProfile extends HTMLElement { method constructor (line 2) | constructor() { method connectedCallback (line 7) | connectedCallback() { function setupComponents (line 55) | function setupComponents() { FILE: apps/web/src/utils/storage.ts type StorageEngine (line 12) | interface StorageEngine { class LocalStorageEngine (line 24) | class LocalStorageEngine implements StorageEngine { method get (line 25) | async get(key: string): Promise { method set (line 35) | async set(key: string, value: string): Promise { method remove (line 45) | async remove(key: string): Promise { method has (line 54) | async has(key: string): Promise { method clear (line 63) | async clear(): Promise { method keys (line 72) | async keys(): Promise { class RestfulStorageEngine (line 85) | class RestfulStorageEngine implements StorageEngine { method constructor (line 86) | constructor( method request (line 91) | private async request(method: string, endpoint: string, data?: any): P... method get (line 114) | async get(key: string): Promise { method set (line 124) | async set(key: string, value: string): Promise { method remove (line 128) | async remove(key: string): Promise { method has (line 132) | async has(key: string): Promise { method clear (line 142) | async clear(): Promise { method keys (line 146) | async keys(): Promise { class StorageManager (line 155) | class StorageManager { method setEngine (line 161) | setEngine(engine: StorageEngine): void { method getEngine (line 168) | getEngine(): StorageEngine { method get (line 175) | async get(key: string): Promise { method set (line 182) | async set(key: string, value: string): Promise { method getJSON (line 191) | async getJSON(key: string, defaultValue?: T): Promise { method setJSON (line 209) | async setJSON(key: string, value: T): Promise { method remove (line 223) | async remove(key: string): Promise { method has (line 230) | async has(key: string): Promise { method clear (line 237) | async clear(): Promise { method keys (line 244) | async keys(): Promise { method reactive (line 254) | reactive(key: string, defaultValue: T): Ref { method customReactive (line 311) | customReactive( method parseJSON (line 348) | private parseJSON(value: string, fallback: T): T { FILE: apps/web/vite.config.ts constant PKG_NAME_SPECIAL_CHARS (line 23) | const PKG_NAME_SPECIAL_CHARS = /[^\w-]/g method manualChunks (line 65) | manualChunks(id) { FILE: apps/web/worker/index.ts constant MP_HOST (line 3) | const MP_HOST = `https://api.weixin.qq.com` method fetch (line 6) | async fetch(request: Request): Promise { FILE: apps/web/wxt.config.ts function getRootPackageVersion (line 7) | function getRootPackageVersion() { FILE: docker/latest/server/main.go function main (line 13) | func main() { FILE: packages/core/src/extensions/alert.ts function markedAlert (line 10) | function markedAlert(options: AlertOptions = {}): MarkedExtension { function resolveVariants (line 249) | function resolveVariants(variants: AlertVariantItem[]) { function createSyntaxPattern (line 267) | function createSyntaxPattern(type: string) { FILE: packages/core/src/extensions/footnotes.ts type MapContent (line 11) | interface MapContent { function markedFootnotes (line 17) | function markedFootnotes(): MarkedExtension { FILE: packages/core/src/extensions/infographic.ts type InfographicOptions (line 4) | interface InfographicOptions { constant RE_INFOGRAPHIC_START (line 13) | const RE_INFOGRAPHIC_START = /^```infographic/m constant RE_INFOGRAPHIC_BLOCK (line 14) | const RE_INFOGRAPHIC_BLOCK = /^```infographic\r?\n([\s\S]*?)\r?\n```/ function renderInfographic (line 16) | async function renderInfographic(containerId: string, code: string, cach... function markedInfographic (line 93) | function markedInfographic(options?: InfographicOptions): MarkedExtension { FILE: packages/core/src/extensions/katex.ts type MarkedKatexOptions (line 3) | interface MarkedKatexOptions { function createRenderer (line 16) | function createRenderer(defaultDisplay: boolean, withStyle: boolean = tr... function inlineKatex (line 48) | function inlineKatex(options: MarkedKatexOptions | undefined, renderer: ... function blockKatex (line 90) | function blockKatex(_options: MarkedKatexOptions | undefined, renderer: ... function inlineLatexKatex (line 109) | function inlineLatexKatex(_options: MarkedKatexOptions | undefined, rend... function blockLatexKatex (line 132) | function blockLatexKatex(_options: MarkedKatexOptions | undefined, rende... function MDKatex (line 155) | function MDKatex(options: MarkedKatexOptions | undefined, withStyle: boo... FILE: packages/core/src/extensions/markup.ts function markedMarkup (line 9) | function markedMarkup(): MarkedExtension { FILE: packages/core/src/extensions/mermaid.ts function renderMermaid (line 9) | function renderMermaid(id: string, code: string, cacheKey: string) { function markedMermaid (line 47) | function markedMermaid(): MarkedExtension { FILE: packages/core/src/extensions/plantuml.ts type PlantUMLOptions (line 10) | interface PlantUMLOptions { function encode6bit (line 43) | function encode6bit(b: number): string { function append3bytes (line 69) | function append3bytes(b1: number, b2: number, b3: number): string { function encode64 (line 86) | function encode64(data: string): string { function performDeflate (line 106) | function performDeflate(input: string): string { function encodePlantUML (line 128) | function encodePlantUML(plantumlCode: string): string { function generatePlantUMLUrl (line 148) | function generatePlantUMLUrl(code: string, options: Required { function createPlantUMLHTML (line 229) | function createPlantUMLHTML(imageUrl: string, options: Required/g constant DOUBLE_QUOTE_REGEX (line 36) | const DOUBLE_QUOTE_REGEX = /"/g constant SINGLE_QUOTE_REGEX (line 37) | const SINGLE_QUOTE_REGEX = /'/g constant BACKTICK_REGEX (line 38) | const BACKTICK_REGEX = /`/g constant UNDERSCORE_REGEX (line 39) | const UNDERSCORE_REGEX = /_/g constant HEADING_TAG_REGEX (line 40) | const HEADING_TAG_REGEX = /^h\d$/ constant PARAGRAPH_WRAPPER_REGEX (line 41) | const PARAGRAPH_WRAPPER_REGEX = /^]*)?>([\s\S]*?)<\/p>/ constant MP_WEIXIN_LINK_REGEX (line 42) | const MP_WEIXIN_LINK_REGEX = /^https?:\/\/mp\.weixin\.qq\.com/ function escapeHtml (line 44) | function escapeHtml(text: string): string { function buildAddition (line 54) | function buildAddition(): string { function buildFootnoteArray (line 73) | function buildFootnoteArray(footnotes: [number, string, string][]): stri... function extractFileName (line 83) | function extractFileName(href: string): string { function transform (line 98) | function transform(legend: string, text: string | null, title: string | ... type ParseResult (line 125) | interface ParseResult { function parseFrontMatterAndContent (line 131) | function parseFrontMatterAndContent(markdownText: string): ParseResult { function initRenderer (line 155) | function initRenderer(opts: IOpts = {}): RendererAPI { FILE: packages/core/src/theme/cssProcessor.ts function processCSS (line 19) | async function processCSS(css: string): Promise { FILE: packages/core/src/theme/cssScopeWrapper.ts function wrapCSSWithScope (line 14) | function wrapCSSWithScope(css: string, scope: string = `#output`): string { FILE: packages/core/src/theme/cssVariables.ts type CSSVariableConfig (line 8) | interface CSSVariableConfig { function generateCSSVariables (line 22) | function generateCSSVariables(config: CSSVariableConfig): string { function generateHeadingStyles (line 42) | function generateHeadingStyles(config: CSSVariableConfig): string { function generateHeadingStylesCSS (line 49) | function generateHeadingStylesCSS(headingStyles?: HeadingStyles): string { function generateHeadingCSS (line 70) | function generateHeadingCSS(level: HeadingLevel, style: HeadingStyleType... FILE: packages/core/src/theme/selectorMapping.ts constant SELECTOR_MAPPING (line 11) | const SELECTOR_MAPPING: Record = { FILE: packages/core/src/theme/themeApplicator.ts type ThemeConfig (line 14) | interface ThemeConfig { function applyTheme (line 24) | async function applyTheme(config: ThemeConfig): Promise { FILE: packages/core/src/theme/themeExporter.ts function exportMergedTheme (line 17) | function exportMergedTheme( FILE: packages/core/src/theme/themeInjector.ts class ThemeInjector (line 9) | class ThemeInjector { method inject (line 17) | inject(cssContent: string): void { method remove (line 29) | remove(): void { method isInjected (line 39) | isInjected(): boolean { function getThemeInjector (line 50) | function getThemeInjector(): ThemeInjector { FILE: packages/core/src/utils/basicHelpers.ts function escapeHtml (line 4) | function escapeHtml(text: string): string { function ucfirst (line 16) | function ucfirst(str: string) { function simpleHash (line 20) | function simpleHash(str: string): string { FILE: packages/core/src/utils/initializeMermaid.ts function initializeMermaid (line 1) | async function initializeMermaid() { FILE: packages/core/src/utils/languages.ts constant COMMON_LANGUAGES (line 39) | const COMMON_LANGUAGES: Record = { constant HLJS_VERSION (line 79) | const HLJS_VERSION = `11.11.1` constant HLJS_CDN_BASE (line 80) | const HLJS_CDN_BASE = `https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/np... function grammarUrlFor (line 88) | function grammarUrlFor(language: string): string { function loadAndRegisterLanguage (line 97) | async function loadAndRegisterLanguage(language: string, hljs: any): Pro... function formatHighlightedCode (line 131) | function formatHighlightedCode(html: string, preserveNewlines = false): ... function highlightAndFormatCode (line 159) | function highlightAndFormatCode(text: string, language: string, hljs: an... function highlightCodeBlock (line 191) | function highlightCodeBlock(codeBlock: Element, language: string, hljs: ... function highlightPendingBlocks (line 214) | function highlightPendingBlocks(hljs: any, container: Document | Element... FILE: packages/core/src/utils/markdownHelpers.ts constant INFOGRAPHIC_PLACEHOLDER_REGEX (line 6) | const INFOGRAPHIC_PLACEHOLDER_REGEX = /[\s\S]*?<... constant MERMAID_PLACEHOLDER_REGEX (line 7) | const MERMAID_PLACEHOLDER_REGEX = /[\s\S]*?