MCPcopy Create free account

hub / github.com/bahdotsh/mdlib / functions

Functions84 in github.com/bahdotsh/mdlib

↓ 13 callersFunctionshowToast
(message, type = 'success')
static/js/app.js:1525
↓ 9 callersFunctionloadFiles
()
static/js/app.js:335
↓ 8 callersFunctionlist_markdown_files
Lists all markdown files in the given directory and its subdirectories
src/fs.rs:19
↓ 5 callersFunctionloadFile
(path)
static/js/app.js:715
↓ 5 callersFunctionsetViewMode
(mode)
static/js/app.js:296
↓ 5 callersFunctionupdatePreview
()
static/js/app.js:761
↓ 4 callersFunctionapplyFormat
(format)
static/js/app.js:942
↓ 4 callersFunctioncloseContextMenu
()
static/js/app.js:707
↓ 4 callersFunctiondisplayFiles
(files)
static/js/app.js:365
↓ 4 callersFunctionloadCategories
()
static/js/app.js:1107
↓ 4 callersFunctionread_markdown_file
Reads the content of a markdown file (or README)
src/fs.rs:104
↓ 4 callersFunctionupdateTagsDisplay
()
static/js/app.js:1277
↓ 4 callersFunctionwrite_markdown_file
Writes content to a markdown file
src/fs.rs:109
↓ 3 callersFunctionadd_tags_to_file
Add tags to a markdown file
src/fs.rs:254
↓ 3 callersFunctiondelete_markdown_file
Deletes a markdown file
src/fs.rs:134
↓ 3 callersFunctionextract_frontmatter
Extract YAML frontmatter from markdown content if present
src/fs.rs:213
↓ 3 callersFunctionextract_tags_from_content
Extract tags from a markdown content string
src/fs.rs:170
↓ 3 callersFunctiongetFilename
(path)
static/js/app.js:1023
↓ 3 callersFunctionremove_tags_from_file
Remove tags from a markdown file
src/fs.rs:327
↓ 2 callersFunctioncreate_markdown_file
Creates a new markdown file with the given name
src/fs.rs:119
↓ 2 callersFunctiondebounce
(func, delay)
static/js/app.js:1028
↓ 2 callersFunctiondeleteFile
(path)
static/js/app.js:1382
↓ 2 callersFunctionextract_tags_from_file
Extract tags from a markdown file
src/fs.rs:164
↓ 2 callersFunctionget_category_from_path
Get the category from a file path (relative to base directory)
src/fs.rs:224
↓ 2 callersFunctionhideAddTagsModal
()
static/js/app.js:1050
↓ 2 callersFunctionhideCategoryForm
()
static/js/app.js:1376
↓ 2 callersFunctionhideNewNoteModal
()
static/js/app.js:288
↓ 2 callersFunctioninit
()
static/js/app.js:60
↓ 2 callersFunctionsaveCurrentFile
()
static/js/app.js:785
↓ 2 callersFunctionscheduleAutoSave
()
static/js/app.js:833
↓ 2 callersFunctionshowAddTagsModal
(filePath)
static/js/app.js:1042
↓ 2 callersFunctiontoggleSidebar
()
static/js/app.js:267
↓ 1 callersFunctionadd_tags_to_content
Add tags to markdown content
src/fs.rs:261
↓ 1 callersFunctionchangeNoteCategory
(filePath, newCategory)
static/js/app.js:1486
↓ 1 callersFunctioncheckScreenSize
()
static/js/app.js:255
↓ 1 callersFunctionconfigureMarked
()
static/js/app.js:99
↓ 1 callersFunctioncreateCategory
()
static/js/app.js:1230
↓ 1 callersFunctioncreateNewNote
()
static/js/app.js:846
↓ 1 callersFunctioncreateToastContainer
()
static/js/app.js:272
↓ 1 callersFunctioncreate_category
Create a new category
src/server.rs:598
↓ 1 callersFunctiondeleteCategory
(category)
static/js/app.js:1456
↓ 1 callersFunctionenableVirtualScrolling
()
static/js/app.js:519
↓ 1 callersFunctionextract_category_from_content
Helper function to extract category from content
src/server.rs:310
↓ 1 callersFunctionextract_frontmatter
Extract YAML frontmatter from markdown content if present
src/server.rs:323
↓ 1 callersFunctionget_relative_path
Gets the relative path from base directory
src/fs.rs:145
↓ 1 callersFunctionhandle_config_command
(args: &[String])
src/main.rs:79
↓ 1 callersFunctionlist_embedded_files
Function to list all embedded files for debugging
src/embedded.rs:112
↓ 1 callersFunctionremove_tags_from_content
Remove tags from markdown content
src/fs.rs:334
↓ 1 callersFunctionsearchByCategory
(category)
static/js/app.js:1325
↓ 1 callersFunctionsearchByTag
(tag)
static/js/app.js:1343
↓ 1 callersFunctionserve_embedded_file
(path: &str)
src/embedded.rs:14
↓ 1 callersMethodserver_address
Get the server address with port
src/config.rs:71
↓ 1 callersFunctionsetupEventListeners
()
static/js/app.js:123
↓ 1 callersFunctionshowCategoryForm
()
static/js/app.js:1370
↓ 1 callersFunctionshowContextMenu
(e, filePath)
static/js/app.js:568
↓ 1 callersFunctionstart_server
Start the web server
src/server.rs:105
↓ 1 callersFunctionupdateCategoriesDisplay
()
static/js/app.js:1126
↓ 1 callersFunctionupdateCategoryDropdown
()
static/js/app.js:1218
↓ 1 callersFunctionupdateVisibleItems
()
static/js/app.js:529
↓ 1 callersFunctionverify_essential_files
Function to verify that essential files are embedded
src/embedded.rs:92
FunctionaddTagsToCurrentFile
()
static/js/app.js:1056
Functionadd_tags
Add tags to a file
src/server.rs:530
Functioncreate_category
Creates a new category directory
src/fs.rs:236
Functioncreate_file
Create a new markdown file
src/server.rs:250
Methoddefault
()
src/config.rs:21
Functiondelete_category
Delete a category directory
src/fs.rs:400
Functiondelete_category
Delete a category
src/server.rs:733
Functiondelete_file
Delete a file
src/server.rs:404
Functionget_file
Get the content of a file
src/server.rs:184
FunctionhandleKeyboardShortcuts
(e)
static/js/app.js:990
Methodinto_response
(self)
src/server.rs:40
Functionlater
()
static/js/app.js:1031
Functionlist_categories
List all categories
src/server.rs:616
Functionlist_files
List all markdown files
src/server.rs:174
Methodload_or_default
Load configuration from a file or create default if it doesn't exist
src/config.rs:34
Functionmain
()
src/main.rs:10
FunctionremoveTagFromFile
(filePath, tag)
static/js/app.js:1420
Functionremove_tags
Remove tags from a file
src/server.rs:665
FunctionsearchFiles
()
static/js/app.js:917
Functionsearch_files
Search for files containing a query
src/server.rs:471
FunctionshowNewNoteModal
()
static/js/app.js:279
Functionstatic_handler
Handler for all embedded static assets
src/embedded.rs:86
FunctiontoggleCategoryForm
()
static/js/app.js:1361
Functionupdate_file
Update an existing file
src/server.rs:334