{"id":17790780,"url":"https://github.com/davorg/tt-mode","last_synced_at":"2026-04-03T16:02:07.696Z","repository":{"id":541916,"uuid":"171790","full_name":"davorg/tt-mode","owner":"davorg","description":"Template Toolkit editing mode for Emacs","archived":false,"fork":false,"pushed_at":"2023-09-22T15:28:52.000Z","size":11,"stargazers_count":21,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T01:27:35.509Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"http://dave.org.uk/emacs/","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"vitalets/angular-xeditable","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-04-09T09:36:56.000Z","updated_at":"2023-03-04T01:58:07.000Z","dependencies_parsed_at":"2024-10-27T10:56:37.318Z","dependency_job_id":"b8eb52e7-ec2a-4763-a577-b2b0dcd56f68","html_url":"https://github.com/davorg/tt-mode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davorg/tt-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Ftt-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Ftt-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Ftt-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Ftt-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davorg","download_url":"https://codeload.github.com/davorg/tt-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Ftt-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275180170,"owners_count":25419065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-10-27T10:47:57.807Z","updated_at":"2026-04-03T16:02:07.688Z","avatar_url":"https://github.com/davorg.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tt-mode\n\n[![Static Badge](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/davorg/tt-mode)\n[![MELPA](https://melpa.org/packages/tt-mode-badge.svg)](https://melpa.org/#/tt-mode)\n[![License: GPL](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/copyleft/gpl.html)\n\nAn Emacs major mode for editing [Template Toolkit](http://tt2.org/) files.\n\n## Features\n\n- Syntax highlighting for Template Toolkit directives (`[% ... %]`)\n- Highlights TT keywords (`IF`, `FOREACH`, `INCLUDE`, `BLOCK`, etc.)\n- Highlights variable names, constants, and comments within TT tags\n- Automatically activates for files with a `.tt` extension\n\n## Installation\n\n### Via MELPA (recommended)\n\n`tt-mode` is available on [MELPA](https://melpa.org/#/tt-mode). If you have\nMELPA configured as a package source, you can install it with:\n\n```\nM-x package-install RET tt-mode RET\n```\n\n### Manual installation\n\n1. Download `tt-mode.el` from the\n   [GitHub repository](https://github.com/davorg/tt-mode/).\n2. Place it somewhere on your Emacs `load-path`.\n3. Add the following to your `.emacs` or `init.el`:\n\n```elisp\n(autoload 'tt-mode \"tt-mode\")\n(add-to-list 'auto-mode-alist '(\"\\\\.tt\\\\'\" . tt-mode))\n```\n\n## Usage\n\nOnce installed, `tt-mode` will be activated automatically when you open a\nfile with a `.tt` extension. You can also activate it manually with:\n\n```\nM-x tt-mode\n```\n\n### What gets highlighted\n\n| Element | Face |\n|---------|------|\n| `[%` and `%]` delimiters | `font-lock-builtin-face` |\n| Content inside TT tags | `font-lock-variable-name-face` |\n| TT keywords (`IF`, `FOREACH`, etc.) | `font-lock-keyword-face` |\n| Simple variable expressions | `font-lock-constant-face` |\n| Comments (`[%# ... %]` and inline `#`) | `font-lock-comment-face` |\n\n## Contributing\n\nThis started as an afternoon of Emacs Lisp hacking in 2002. There are,\nno doubt, many improvements that can be made. Contributions are very\nwelcome!\n\nTo contribute:\n\n1. Fork the [GitHub repository](https://github.com/davorg/tt-mode/)\n2. Make your changes\n3. Submit a pull request\n\nIf you have suggestions but don't want to write code, please\n[open an issue](https://github.com/davorg/tt-mode/issues).\n\n## License\n\nThis code is made available under the\n[GPL](http://www.gnu.org/copyleft/gpl.html). Usual caveats apply.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavorg%2Ftt-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavorg%2Ftt-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavorg%2Ftt-mode/lists"}