Commit Graph
5 Commits
Author SHA1 Message Date
Zef Hemel 44d8fe4467 Implement slash command templates and enhance Lua command functionality
- Introduced a new system for defining slash commands using templates, allowing for easier command creation and management.
- Added multiple slash command templates, including for functions, queries, and admonitions, with specific context handling.
- Enhanced existing Lua command definitions to support new template-based commands and improved context filtering.
- Updated the `template.fromPage` function to handle raw template text, enabling more flexible command definitions.
2025-04-06 10:08:06 +02:00
Zef Hemel be86e53398 Implement new slash commands and enhance editor functionality
- Added slash commands for inserting today's, yesterday's, and tomorrow's dates.
- Introduced new admonition commands for notes and warnings.
- Implemented a table command for quick table insertion.
- Enhanced the `insertAtCursor` function to support a cursor placeholder option.
- Updated `getSelection` to return the selected text along with cursor positions.
- Added a new widget function to display linked tasks in the editor.
2025-03-30 13:03:57 +02:00
Zef Hemel 45b767fd3c Lua widgets: html can now also be a DOM node
Encoding some more space lua priorities and documenting them
2025-03-28 17:38:32 +01:00
Zef Hemel 9c3c4a9098 Fix not detecting changes regression, plus cleanup 2025-03-26 10:27:13 +01:00
Zef Hemel 0bc5cb7356 Library/Std moved to top level, now bundled in same way as plugs 2025-03-24 17:08:04 +01:00