Skip to content

feat: add ssh-config language support#4081

Open
GracesonVfx wants to merge 1 commit into
PrismJS:v2from
GracesonVfx:v2
Open

feat: add ssh-config language support#4081
GracesonVfx wants to merge 1 commit into
PrismJS:v2from
GracesonVfx:v2

Conversation

@GracesonVfx
Copy link
Copy Markdown

This pull request adds syntax highlighting support for SSH configuration files (ssh-config). It defines token parsing rules for common SSH configuration properties, comments, strings, and home directory variables.

Changes

  • Added: src/languages/prism-ssh-config.js containing regex pattern matching rules for comment, keyword, string, and variable.
  • Updated: src/components.json to register the new language under the languages mapping.
  • Added: tests/languages/ssh-config/feature_test.html containing token validation test assertions for the language build runner.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 23, 2026

Deploy Preview for dev-prismjs-com ready!

Name Link
🔨 Latest commit a99eb00
🔍 Latest deploy log https://app.netlify.com/projects/dev-prismjs-com/deploys/6a11a0416d227400081eb54d
😎 Deploy Preview https://deploy-preview-4081--dev-prismjs-com.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

No JS Changes

Generated by 🚫 dangerJS against a99eb00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant