Skip to content

Automatic selection of language based on query parameters #10

@Andre601

Description

@Andre601

This can be seen as an addition to #9

My suggestion is, to allow the language to be (pre-)selected based on a query parameter defined in the URL.
This would allow people to share a link, where the code highlighting is already set, only requiring a paste of the info and subsequently save.

For example:
Providing https://pastes.dev/?lang=yaml would automatically select YAML as the language for the paste.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions