mirror of
https://github.com/rabirabirara/obsidian-jelly-snippets.git
synced 2026-07-22 07:30:22 +00:00
feat: basic snippet data structure
This commit is contained in:
parent
ebea47cde8
commit
65572b4632
1 changed files with 12 additions and 0 deletions
12
snippet.ts
Normal file
12
snippet.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
export type LHS = string;
|
||||
export interface RHS {
|
||||
data: string;
|
||||
info: {
|
||||
cursorEnd: number;
|
||||
};
|
||||
}
|
||||
|
||||
export type Snippet = {
|
||||
lhs: LHS;
|
||||
rhs: RHS;
|
||||
};
|
||||
Loading…
Reference in a new issue