PrismJS/prism

Language Request: ssh-config

Open

#3.444 aberto em 30 de abr. de 2022

Ver no GitHub
 (3 comments) (7 reactions) (0 assignees)JavaScript (1.296 forks)batch import
good first issuelanguage-definitionsnew language

Métricas do repositório

Stars
 (11.488 stars)
Métricas de merge de PR
 (Mesclagem média 86d 15h) (12 fundiu PRs em 30d)

Description

Language This is the configuration file for sshd found inside ~/.ssh/config on most systems.

Additional resources I found this issue that seems to have done the same thing for linguist which drives GitHub syntax highlighting - wondering if it can be added in Prism which drives syntax highlighting in my favourite MD editor (Obsidian).

EDIT: Additionally, some regex from https://github.com/Alhadis/language-etc/blob/master/grammars/ssh-config.cson may be reusable - can't be sure because I don't know the language, perhaps someone else can take a look.

Notes If this syntax highlighting engine already exists (and I simply didn't find it), this request could be changed to be a request for an official alias to ssh-config to get some consistency for the same code uploaded to different platforms with different syntax highlighting engines.

Guia do colaborador