tonsky / tonsky/FiraCode

Ligature request for Jinja2/Twig syntax

Open
#408 6 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
82k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Hi, can we have optimized ligatures for Twig syntax? The standard symbols are:

{% some_instruction %}
{{ some_variable }}
{# this is a comment #}

and with whitespace control:

{%- some_instruction -%}
{{- some_variable -}}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

First confirm that the Jinja2/Twig request is still wanted, since the issue has been inactive for years. Then locate the font's ligature definitions and build entry point, and compare the requested {% %}, {{ }}, {# #}, and whitespace-control forms with existing syntax ligatures. Done means the examples render as intended without regressing other ligatures.

Written by the indexing model from the issue text.

Assessment

Domain
design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.