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

[Feature Request] Add the option to not show icons #18

Closed
Theigrams opened this issue Jun 25, 2022 · 2 comments
Closed

[Feature Request] Add the option to not show icons #18

Theigrams opened this issue Jun 25, 2022 · 2 comments

Comments

@Theigrams
Copy link

My json configuration file is as follows.

"wrap-math-equation": {
    "label": "Wrap with math equation",
    "binding": "ctrl+m",
    "template": " $$^$ "
  },
"wrap-math-block": {
  "label": "Wrap with math block",
  "binding": "ctrl+shift+m",
  "template": "$$\n$^\n$$"
  }

However, the default icon displayed is "X", can we add an option in the json to control whether to display this icon or not ?
image

@sethyuan
Copy link
Owner

Feature implemented, please have a try. The current behavior is if you don't configure an icon, it will not be displayed in the toolbar.

@Theigrams
Copy link
Author

It works nice, thanks a lot!

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