Skip to content

Minor enhancements to the Snippets Builder #60

@hhkaos

Description

@hhkaos

I just noticed two things that could be improved:

  • Add multi-line support in the description field
  • Submit proposal button include duplicate info

Multi-line-support

This is not encoding properly the field:

Screenshot 2024-10-22 at 15 13 45

It should be:

"A JavaScript only snippet": {
  "prefix": "myConsoleLog",
  "scope": "javascript, css",
  "body": [
    "console.log("Hello Map");",
  ],
  "description": "Console log \"Hello Map\".\nThis is a multiline description"
}

Submit proposal button

Since the last PR, it's including some info that is redundant:
2024-10-22_15-16-00

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions