Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improving the experience of adding snippets #16

Closed
Labels
discussNeeds to be discussed by community enhancementNew feature or request help wantedExtra attention is needed
@Mathys-Gasnier

Description

Adding each snippet line by line to the json file is really not ideal...
Would there be something against moving to a system where lines are not split ?
Even generating the snippet with a command line or something like this...

Two options are a script, to which we could pass the language, the category and the code of the snippet (code passed from a file maybe ?)
The other option would be to modify the storage and use something else than json, something more adapted to multiline string value.

I would like feedback on this before proposing a PR with an implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussNeeds to be discussed by community enhancementNew feature or request help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /