MCPcopy Create free account

hub / github.com/JSerZANP/shaku / functions

Functions128 in github.com/JSerZANP/shaku

↓ 24 callersFunctionprocess
(md: string)
packages/remark-shaku-code-annotate/src/__tests__/index.test.ts:6
↓ 9 callersMethodfetch
()
examples/web/components/Fetcher.ts:6
↓ 6 callersFunctiongetCanonicalMark
(mark: string)
packages/shaku-code-annotate-core/src/parser.ts:570
↓ 6 callersFunctiongetShakuHighlighters
(options: ShakuHighlighterOptions)
packages/shaku-code-annotate-shiki/src/getHighlighters.ts:18
↓ 6 callersFunctionparseLine
(line: string)
packages/shaku-code-annotate-core/src/parser.ts:183
↓ 6 callersFunctionrenderComponent
( component: ShakuComponent, options?: { useDangerousRawHtml?: boolean; } )
packages/shaku-code-annotate-core/src/parser.ts:453
↓ 5 callersFunctionescapeHtml
(html: string)
packages/shaku-code-annotate-shiki/src/escapeHtml.ts:1
↓ 5 callersFunctionfetchProcessor
( lang: string, useDangerousRawHtml: boolean, shakuTrigger?: RegExp )
packages/shaku-code-annotate-shiki-transformer/src/__tests__/util.ts:29
↓ 5 callersFunctionmarkedShakuCodeAnnotate
( options: ShakuHighlighterOptions = {} )
packages/marked-shaku-code-annotate/src/index.ts:9
↓ 4 callersFunctionescapeHtml
(html: string)
packages/shaku-code-annotate-core/src/parser.ts:561
↓ 3 callersFunctionassertsNever
(data: never)
packages/shaku-code-annotate-shiki-transformer/src/index.ts:696
↓ 3 callersFunctiongetTextSizeOfElement
(token: Element)
packages/shaku-code-annotate-shiki-transformer/src/index.ts:715
↓ 3 callersFunctionisWhitespace
(str: string)
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:576
↓ 2 callersFunctionassertsNever
(data: never)
packages/shaku-code-annotate-core/src/parser.ts:557
↓ 2 callersFunctionassertsNever
(data: never)
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:810
↓ 2 callersFunctiongetProcessedTokensResult
( lang: string, code: string, theme: shiki.Theme, processor: shiki.Highlighter )
examples/web/components/ShikiTokenInspector/ShikiTokenPreview.tsx:42
↓ 2 callersFunctiongetProcessor
(lang: string, theme: shiki.Theme)
examples/web/components/ShikiTokenInspector/ShikiTokenPreview.tsx:29
↓ 2 callersFunctiongetProcessor
(lang: string, theme: shiki.Theme)
examples/web/app/sugar-high-token-inspector/SugarHighTokenPreview.tsx:30
↓ 2 callersFunctionparseDataEntries
(entriesStr: string)
packages/shaku-code-annotate-core/src/parseDataEntries.ts:7
↓ 2 callersFunctionprocessWithThemes
(md: string)
packages/remark-shaku-code-annotate/src/__tests__/index.test.ts:16
↓ 2 callersFunctionrenderComponentHast
( component: ShakuComponent, options?: { useDangerousRawHtml?: boolean; } )
packages/shaku-code-annotate-core/src/parser.ts:488
↓ 2 callersFunctionrenderInsertion
(insertion: Insertion)
packages/shaku-code-annotate-shiki/src/render.ts:17
↓ 2 callersFunctionrenderToken
(token: IThemedToken)
packages/shaku-code-annotate-shiki/src/render.ts:22
↓ 2 callersFunctionshakuCodeAnnotateShikiTransformer
(options)
packages/shaku-code-annotate-shiki-transformer/src/index.ts:82
↓ 2 callersFunctionshouldApplyAnnotation
(meta: string)
packages/shaku-code-annotate-core/src/parser.ts:411
↓ 2 callersFunctionshouldBeTreatedAsWhitespace
( token: IThemedToken, lang?: string | null )
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:580
↓ 1 callersFunctionassertNever
(x: never)
examples/web/components/bare.tsx:165
↓ 1 callersFunctiondebounce
(func: (...args: unknown[]) => unknown, wait = 1000)
examples/web/components/debouce.ts:1
↓ 1 callersFunctionfetchProcessor
(lang)
examples/web/components/CodeSnippetPreviewTransformer.tsx:72
↓ 1 callersFunctionfetchProcessor
()
examples/web/components/CodePreview/CodePreviewRemark.tsx:62
↓ 1 callersFunctionfetchProcessor
(lang, theme)
examples/web/components/ShikiTokenInspector/ShikiTokenPreview.tsx:15
↓ 1 callersFunctionfetchProcessor
(lang, theme)
examples/web/app/sugar-high-token-inspector/SugarHighTokenPreview.tsx:16
↓ 1 callersFunctionfilterNonNull
(arr: Array<T>)
examples/web/components/filterNonNull.ts:1
↓ 1 callersFunctiongetCanonicalLang
(lang?: string | null)
examples/web/app/snippet/page.tsx:16
↓ 1 callersFunctiongetLangAndMeta
(token: Tokens.Code)
packages/marked-shaku-code-annotate/src/index.ts:60
↓ 1 callersFunctiongetLeadingSpaceCount
(str: string)
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:814
↓ 1 callersFunctiongetLeadingSpaceCount
(str: string)
packages/shaku-code-annotate-shiki-transformer/src/index.ts:700
↓ 1 callersFunctiongetProcessedResult
( lang: string, code: string, processor: ReturnType<typeof remark> )
examples/web/components/CodeSnippetPreviewTransformer.tsx:115
↓ 1 callersFunctiongetProcessedResult
(code: string)
examples/web/components/CodePreview/CodePreviewMarked.tsx:27
↓ 1 callersFunctiongetProcessedResult
( code: string, processor: ReturnType<typeof remark> )
examples/web/components/CodePreview/CodePreviewRemark.tsx:21
↓ 1 callersFunctiongetProcessedTokensResult
( lang: string, code: string, theme: shiki.Theme, processor: shiki.Highlighter )
examples/web/app/sugar-high-token-inspector/SugarHighTokenPreview.tsx:48
↓ 1 callersFunctiongetProcessor
(lang: string)
examples/web/components/CodeSnippetPreviewTransformer.tsx:106
↓ 1 callersFunctiongetProcessor
()
examples/web/components/CodePreview/CodePreviewRemark.tsx:12
↓ 1 callersFunctiongetTextOfElement
(line: ThemedToken[])
packages/shaku-code-annotate-shiki-transformer/src/index.ts:709
↓ 1 callersFunctionhasShakuDirectiveFocus
(lines: ReturnType<typeof parseLines>)
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:570
↓ 1 callersFunctionhasShakuDirectiveFocus
(lines: ReturnType<typeof parseLines>)
packages/shaku-code-annotate-shiki-transformer/src/index.ts:690
↓ 1 callersFunctionhighlight
()
examples/web/components/TOC.tsx:28
↓ 1 callersFunctioninlineHighlightChildren
( children: Array<Element>, shakuLine: { type: "shaku"; line: ShakuDirectiveHighlightInline; o
packages/shaku-code-annotate-shiki-transformer/src/index.ts:733
↓ 1 callersFunctionisPattern1
(arr: Token[])
packages/shaku-code-annotate-core/src/parseDataEntries.ts:56
↓ 1 callersFunctionisPattern2
(arr: Token[])
packages/shaku-code-annotate-core/src/parseDataEntries.ts:64
↓ 1 callersFunctionisShakuDirectiveHighlightInline
(str: string)
packages/shaku-code-annotate-core/src/parser.ts:47
↓ 1 callersFunctionparseComment
* different kinds of comments have different interpretations * Below are some common examples, these are not exhaustive * I'm not sure if there are
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:435
↓ 1 callersFunctionparseComment
* using token explanation is not performant and flaky * now here just use boring regexp
packages/shaku-code-annotate-shiki-transformer/src/index.ts:618
↓ 1 callersFunctionparseLines
( lines: IThemedToken[][], lang: string | null, isShakuSyntaxEnabled: boolean )
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:533
↓ 1 callersFunctionparseLines
( lines: ThemedToken[][], lang: string | null, isShakuSyntaxEnabled: boolean )
packages/shaku-code-annotate-shiki-transformer/src/index.ts:652
↓ 1 callersFunctionprocess
(md: string)
packages/remark-shaku-code-annotate/src/__tests__/languages.test.ts:7
↓ 1 callersFunctionprocessWithoutFallback
(md: string)
packages/remark-shaku-code-annotate/src/__tests__/index.test.ts:26
↓ 1 callersFunctionref
(el: HTMLElement)
examples/web/components/bare.tsx:193
↓ 1 callersFunctionrenderMarkStart
(id?: number)
packages/shaku-code-annotate-shiki/src/render.ts:5
↓ 1 callersFunctionrenderSourceLine
(sourceLine: IThemedToken[])
packages/shaku-code-annotate-shiki/src/render.ts:113
↓ 1 callersFunctionrenderSourceLineWithInlineHighlight
( sourceLine: IThemedToken[], shakuLine: { type: "shaku"; line: ShakuDirectiveHighlightInline;
packages/shaku-code-annotate-shiki/src/render.ts:28
↓ 1 callersFunctionsanitize
(html: string = "")
packages/marked-shaku-code-annotate/src/index.ts:85
↓ 1 callersFunctionsanitize
(html: string)
examples/web/components/CodePreview/sanitize.ts:3
↓ 1 callersFunctiontokenizeDataEntries
(entriesStr: string)
packages/shaku-code-annotate-core/src/parseDataEntries.ts:75
↓ 1 callersFunctiontrimCommentBody
(body: string, lang?: string | null)
packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts:791
FunctionBody
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:157
FunctionButton
({ onClick, label, icon, children, ...rest }: BaseProps & { onClick: () => void; label?: string;
examples/web/components/bare.tsx:78
FunctionCodeBlock
({ code, lang, shakuEnabled = false, ...rest }: { code: string; lang: Lang; shakuEnabled?: boole
examples/web/components/CodeBlock.tsx:16
FunctionCodeEditor
({ defaultValue, onChange, }: { defaultValue: string; onChange: (value: string) => void; })
examples/web/components/CodeEditor.tsx:5
FunctionCodeSnippet
({ code: _code, lang: _lang, }: { code?: string; lang?: string; })
examples/web/components/CodeSnippet.tsx:22
FunctionCodeSnippetPreview
({ lang, code, }: { lang?: string | null; code: string; })
examples/web/components/CodeSnippetPreviewTransformer.tsx:142
FunctionColumn
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:52
FunctionDot
({ color }: { color: string })
examples/web/components/CodeSnippetPreviewTransformer.tsx:314
FunctionHeading
({ level, title, justify = "center", }: { level: "h2" | "h3"; title: string; justify?: "flex-start
examples/web/components/Heading.tsx:4
FunctionHeadline1
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:117
FunctionHeadline2
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:125
FunctionHeadline3
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:133
FunctionHeadline4
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:141
FunctionHeadline5
({ children, ...rest }: BaseProps)
examples/web/components/bare.tsx:149
FunctionLine
({ line, selectToken, selectedToken, isStatic = false, }: { line: ShikiTokenWithId[]; selectedToke
examples/web/components/ShikiTokenInspector/ShikiTokenPreview.tsx:75
FunctionLine
({ line, selectToken, selectedToken, isStatic = false, }: { line: SugerHighTokenWithId[]; selected
examples/web/app/sugar-high-token-inspector/SugarHighTokenPreview.tsx:81
FunctionLines
({ lines, selectToken, isStatic = false, selectedToken, bg, theme, }: { lines: ShikiTokenWithId[
examples/web/components/ShikiTokenInspector/ShikiTokenPreview.tsx:110
FunctionLines
({ lines, selectToken, isStatic = false, selectedToken, bg, theme, }: { lines: SugerHighTokenWit
examples/web/app/sugar-high-token-inspector/SugarHighTokenPreview.tsx:116
FunctionPage
({ searchParams, }: { searchParams: { [key: string]: string | string[] | undefined }; })
examples/web/app/page.tsx:8
FunctionPage
({ searchParams, }: { searchParams: { [key: string]: string | string[] | undefined }; })
examples/web/app/snippet/page.tsx:21
FunctionPage
({ searchParams, }: { searchParams: { [key: string]: string | string[] | undefined }; })
examples/web/app/sugar-high-token-inspector/page.tsx:4
FunctionPage
({ searchParams, }: { searchParams: { [key: string]: string | string[] | undefined }; })
examples/web/app/shiki-token-inspector/page.tsx:4
FunctionPage
()
examples/web/app/ui/page.tsx:3
FunctionPage
({ searchParams, }: { searchParams: { [key: string]: string | string[] | undefined }; })
examples/web/app/playground/page.tsx:4
FunctionPage
({ searchParams, }: { searchParams: { [key: string]: string | string[] | undefined }; })
examples/web/app/sugar-high/page.tsx:4
FunctionPlayground
({ code: _code }: { code?: string })
examples/web/components/Playground.tsx:269
FunctionPlaygroundPreview
({ code }: { code: string })
examples/web/components/CodePreview/CodePreviewMarked.tsx:45
FunctionPlaygroundPreview
({ code }: { code: string })
examples/web/components/CodePreview/CodePreviewRemark.tsx:43
FunctionReveal
({ children, label = "Reveal", }: { children: ReactNode; label: string; })
packages/shaku-ui/src/Reveal.tsx:5
FunctionRootLayout
({ // Layouts must accept a children prop. // This will be populated with nested layouts or pages childr
examples/web/app/layout.tsx:2
FunctionShikiTokenInspector
({ code: _code, lang: _lang, theme: _theme, }: { code?: string; lang?: string; theme?: shiki.Theme
examples/web/components/ShikiTokenInspector/ShikiTokenInspector.tsx:18
FunctionShikiTokenPreview
({ lang, code, theme, }: { lang?: string | null; code: string; theme: shiki.Theme; })
examples/web/components/ShikiTokenInspector/ShikiTokenPreview.tsx:142
FunctionShikiTokenPreview
({ code }: { code: string })
examples/web/app/sugar-high-token-inspector/SugarHighTokenPreview.tsx:148
FunctionSugarHigh
({ code: _code, lang: _lang, }: { code?: string; lang?: string; })
examples/web/components/SugarHigh/SugarHigh.tsx:11
FunctionSugarHighPreview
({ lang, code, }: { lang?: string | null; code: string; })
examples/web/components/SugarHigh/SugarHighPreview.tsx:6
next →1–100 of 128, ranked by callers