obsidian-text-expander
obsidian-text-expander copied to clipboard
[Noob] Question on syntax
Hi,
I try (on Windows) to save this into the setting (the syntax) but I cannot seem to save it. Want to know if there's something wrong with the syntax.
Context: I am trying to have an expander for a format of table that I use frequently.
{
"regex": "^22$",
"replacement":
"
| | | |
| --- | --- | --- |
| | | |
| | | |
"
}
Try switching the quotes to `, like:
{
"regex": "^22$",
"replacement":
`
| | | |
| --- | --- | --- |
| | | |
| | | |
`
}
Hi thanks for the reply.
Somehow I still cannot save it:
- Paste the thing in (with the comma
,
before the next object. - Click else where.
- Click on another plugin.
- Click back.