Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LearnPrompt/LearnPrompt
/ functions
Functions
76 in github.com/LearnPrompt/LearnPrompt
⨍
Functions
76
◇
Types & classes
6
↓ 2 callers
Function
loadExternalResource
* 加载外部资源 * @param url 地址 例如 https://xx.com/xx.js * @param type js 或 css * @returns {Promise<unknown>}
src/subsections/landingpage/Testimonials.js:13
↓ 2 callers
Function
prepareUserState
()
src/pages/project/index.tsx:33
↓ 2 callers
Function
readSearchTags
(search: string)
src/pages/project/_components/ShowcaseTagSelect/index.tsx:24
↓ 1 callers
Function
convert_to_webp
Convert image to WebP. Args: source (pathlib.Path): Path to source image Returns: pathlib.Path: path to new image
scripts/convert_to_webp.py:12
↓ 1 callers
Function
createEmbedCode
(config: UrlConfig)
scripts/dyno_to_new_embed.ts:53
↓ 1 callers
Function
encodeUrlConfig
(obj: UrlConfig)
scripts/dyno_to_new_embed.ts:37
↓ 1 callers
Function
extractMDXAdmonitionTitle
(children)
src/theme/Admonition/index.js:161
↓ 1 callers
Function
getAdmonitionConfig
(unsafeType)
src/theme/Admonition/index.js:148
↓ 1 callers
Function
loadExternal
()
src/subsections/landingpage/Testimonials.js:59
↓ 1 callers
Function
main
()
scripts/convert_to_webp.py:48
↓ 1 callers
Function
processAdmonitionProps
(props)
src/theme/Admonition/index.js:174
↓ 1 callers
Function
processDirectory
(directory: string)
scripts/dyno_to_new_embed.ts:61
↓ 1 callers
Function
processFile
(filePath: string)
scripts/dyno_to_new_embed.ts:72
↓ 1 callers
Function
readOperator
(search: string)
src/pages/project/_components/ShowcaseFilterToggle/index.tsx:13
↓ 1 callers
Function
replaceSearchTags
(search: string, newTags: TagType[])
src/pages/project/_components/ShowcaseTagSelect/index.tsx:28
↓ 1 callers
Function
sortBy
(array: T[], getter: (item: T) => string | number | boolean)
src/utils/jsUtils.ts:7
↓ 1 callers
Function
toggleListItem
(list: T[], item: T)
src/utils/jsUtils.ts:13
↓ 1 callers
Function
update_paths
(file_path)
scripts/convert_to_webp.py:33
↓ 1 callers
Function
upperFirst
(str)
src/utils/jsUtils.ts:36
Function
BulletPoint
({ icon, header, subtitle })
src/components/BulletPoint.js:3
Function
Button
({ className, onClick, text, icon, type = "normal" })
src/components/Button.js:3
Function
ButtonField
({ isActive, onClick, text, className, customStyle })
src/components/ButtonField.js:3
Function
CautionIcon
()
src/theme/Admonition/index.js:57
Function
ClassicPadding
({ children, className })
src/components/layouts/ClassicPadding.js:3
Function
Course
({ src, srcset, name, desc, isPro, special, url, percent, count })
src/theme/DocItem/Footer/course.js:4
Function
Discord
()
src/pages/discord.js:4
Function
FavoriteIcon
( props: Omit<SvgIconProps, 'children'>, )
src/components/svgIcons/FavoriteIcon/index.tsx:4
Function
FriendCards
()
src/pages/friends/index.tsx:27
Function
FriendCards
()
src/pages/multimedia/index.tsx:42
Function
FriendCards
()
src/pages/TeamUs/index.tsx:42
Function
FriendHeader
()
src/pages/friends/index.tsx:13
Function
FriendHeader
()
src/pages/multimedia/index.tsx:30
Function
FriendHeader
()
src/pages/TeamUs/index.tsx:30
Function
FriendLink
()
src/pages/friends/index.tsx:43
Function
FriendLink
()
src/pages/multimedia/index.tsx:58
Function
FriendLink
()
src/pages/TeamUs/index.tsx:58
Function
GitHub
()
src/pages/forkme.js:4
Function
Home
()
src/pages/index.js:19
Function
Home
()
src/pages/about.js:62
Function
Home
()
src/pages/our_services.js:12
Function
Home
()
src/pages/certificate.js:11
Function
LPImage
({ src, alt, caption })
src/components/LPImage.js:3
Function
LargeCallout
({ children, className })
src/components/layouts/LargeCallout.js:3
Function
MyAwesomeNavbarItemForDocs
(props)
src/theme/NavbarItem/ComponentTypes.js:6
Function
MyLayout
({ children, maxWidth, ...layoutProps }: Props & { maxWidth?: number })
src/theme/MyLayout/index.tsx:7
Function
NoteIcon
()
src/theme/Admonition/index.js:17
Function
OpenAISVG
()
src/theme/DocItem/Footer/course.js:42
Function
SVGAvatarBG
()
src/subsections/landingpage/svg/SVGAvatarBG.js:3
Function
SVGLeftArrow
()
src/subsections/landingpage/svg/SVGLeftArrow.js:3
Function
SVGRightArrow
()
src/subsections/landingpage/svg/SVGRightArrow.js:3
Function
Showcase
()
src/pages/project/index.tsx:126
Function
ShowcaseCardTag
({ tags }: { tags: TagType[] })
src/pages/project/_components/ShowcaseCard/index.tsx:19
Function
ShowcaseCards
()
src/pages/project/index.tsx:86
Function
ShowcaseEnd
()
src/pages/project/index.tsx:75
Function
ShowcaseFilterToggle
()
src/pages/project/_components/ShowcaseFilterToggle/index.tsx:17
Function
ShowcaseHeader
()
src/pages/project/index.tsx:44
Function
SiteInfo
()
src/pages/multimedia/index.tsx:20
Function
StatPoint
({header, subtitle})
src/components/StatPoint.js:3
Function
Svg
(props: SvgIconProps)
src/components/Svg/index.tsx:14
Function
TagsRow
(props)
src/theme/DocItem/Footer/index.js:38
Function
TakeawaysIcon
()
src/theme/Admonition/index.js:68
Function
Team
()
src/subsections/landingpage/Team.js:43
Function
Tooltip
({ children, id, anchorEl, text, delay }: Props)
src/components/Tooltip/index.tsx:14
Function
configurePostCss
(postcssOptions)
docusaurus.config.js:76
Function
constructor
(props)
src/subsections/landingpage/Newsletter.js:4
Function
createConfig
()
docusaurus.config.js:5
Function
detectLanguage
()
src/js/detectLanguage.js:1
Function
difference
(...arrays: T[][])
src/utils/jsUtils.ts:2
Function
eventHandler
(e)
src/components/comment/index.tsx:17
Function
handleChange
(event)
src/subsections/landingpage/Newsletter.js:10
Function
handleClose
()
src/components/Tooltip/index.tsx:71
Function
handleOpen
()
src/components/Tooltip/index.tsx:56
Function
onClap
()
src/components/ConfettiTrigger.js:6
Function
onRouteDidUpdate
()
src/clientModules/routeModules.js:10
Function
shuffle
(arr)
src/utils/jsUtils.ts:24
Function
toggleMenu
()
src/subsections/landingpage/Navbar.js:13