Skip to content

Improving the experience of adding snippets #16

@Mathys-Gasnier

Description

@Mathys-Gasnier

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 communityenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy