0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)Ruby5,166 forks (5,166 forks)batch import
Add LanguageGood First Issue
Repository metrics
- Stars
- 13,466 stars (13,466 stars)
- PR merge metrics
- Avg merge 102d 5h (Avg merge 102d 5h)19 merged PRs in 30d (19 merged PRs in 30d)
Description
Language name
Twig
URL of example repository
https://twig.symfony.com/
URL of syntax highlighting grammar
Unsure
Most popular extensions
Wordpress Timber
Drupal
Craft CMS
Twig.js
Detected language
html
php
Contributor guide
- Research direction
- First, study existing language definitions in the linguist repository (e.g., lib/linguist/languages.yml) to understand the YAML format. Then, find or create a TextMate grammar for Twig. Search for existing Twig grammars online or adapt a grammar from a similar templating language (e.g., for HTML or PHP). After that, submit a pull request adding the YAML definition and grammar file. No existing PRs or comments for reference.
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Prerequisites
- Ruby knowledgeTextMate grammar basics