Introduction to Obsidian-Inputs
Obsidian-Inputs is a lightweight, efficient plugin designed to offer a simple inline-code pattern for creating input and button components in ObsidianMD's preview mode. These components dynamically modify markdown files, ensuring long-term readability even if Obsidian or other plugins fail.
Existing Obsidian plugins for creating input components are often unstable and slow due to their reliance on complex libraries. This affects your experience and productivity within ObsidianMD, leading to frustration and inefficiency.
Key Features
- Quick Loading: Average loading time of ~10ms.
- Markdown Compatibility: Updates are made directly within markdown files, not external settings.
- User-Friendly Syntax: Simple and easy-to-read syntax, avoiding complex bidirectional elements. like :
(
. - No External Libraries: Uses Obsidian's API and simple HTML elements for seamless integration.
Plugin Capabilities
- Input/Button Creation: Create text inputs, text areas, radio inputs, and buttons easily.
- Markdown Modification: Effortlessly update headers, dataview-inline fields, and frontmatter fields.
- File Operations: Automatically create, modify, rename, or remove files.
- Macro Creation: Automate steps and reference previous results or files.
Input Sources
Retrieve options from Dataview queries or input them manually.
Context Modification
- File Operations: Create, modify, rename, or remove files.
- Header Manipulation: Manage headers within files.
- Front Matter Management: Create, update, and modify front matter fields.
- Inline Field Interaction (Dataview): Interact with inline fields.
- Pattern: Use input patterns to append, prepend, or replace values dynamically.
Planned Enhancements
- Additional features and capabilities will be introduced in future releases.
Terminology
- Page/File: Used interchangeably.
- Notation/Pattern: Refers to plugin syntax written on the page.
- Components: All UI elements created by the plugin, including inputs and buttons.
For detailed syntax information, refer to the Syntax Documentation. Screenshots
Screenshoots:
![[Pasted image 20240328003625.png]]