Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Noob] Question on syntax #11

Open
b1uegh0st opened this issue Sep 12, 2021 · 2 comments
Open

[Noob] Question on syntax #11

b1uegh0st opened this issue Sep 12, 2021 · 2 comments

Comments

@b1uegh0st
Copy link

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": 
        "
        |     |     |     |
        | --- | --- | --- |
        |     |     |     |
        |     |     |     |
         "
	}
@konodyuk
Copy link
Owner

Try switching the quotes to `, like:

        {
		"regex": "^22$",
		"replacement": 
        `
        |     |     |     |
        | --- | --- | --- |
        |     |     |     |
        |     |     |     |
        `
	}

@b1uegh0st
Copy link
Author

Hi thanks for the reply.

Somehow I still cannot save it:

  • Paste the thing in (with the comma , before the next object.
    image
  • Click else where.
  • Click on another plugin.
  • Click back.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants