CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-mjml-head-font

MJML head component for importing custom fonts into email templates

75

0.98x
Overview
Eval results
Files

Evaluation results

98%

-2%

Email Template Style Inliner

CSS inlining with Juice

Criteria
Without context
With context

mjml2html usage

100%

100%

mj-style inline mode

100%

100%

CSS class application

100%

90%

HTML output extraction

100%

100%

Handlebars preservation

100%

100%

100%

Newsletter Layout Builder

Standard component library (27 components)

Criteria
Without context
With context

Hero component usage

100%

100%

Text component usage

100%

100%

Button component usage

100%

100%

Image component usage

100%

100%

Divider component usage

100%

100%

Social component usage

100%

100%

Layout structure

100%

100%

Dynamic content mapping

100%

100%

10%

-5%

Email Analytics Tracker Generator

HTML attribute injection (mj-html-attributes)

Criteria
Without context
With context

mj-html-attributes usage

0%

0%

mj-selector implementation

0%

0%

mj-html-attribute injection

0%

0%

Multiple selector mappings

0%

33%

mjml2html integration

100%

33%

100%

12%

MJML Email Builder CLI

Command-line interface (mjml-cli)

Criteria
Without context
With context

Core compilation usage

100%

100%

Validation configuration

40%

100%

Beautify option

100%

100%

Minify option

100%

100%

File watching

100%

100%

Error handling

100%

100%

19%

Email Component Library System

Preset system

Criteria
Without context
With context

Custom Component Classes

40%

48%

Component Attributes

0%

46%

Dependency Declaration

20%

0%

Preset Structure

20%

0%

Component Registration

20%

0%

Preset Compilation

0%

0%

100%

Email Template Styler

Custom CSS styles

Criteria
Without context
With context

Uses mjml2html

100%

100%

Uses mj-style

100%

100%

Uses mj-title/mj-preview

100%

100%

Template structure

100%

100%

Applies background color

100%

100%

Returns HTML

100%

100%

25%

-15%

Multi-Font Email Newsletter Template

Font management

Criteria
Without context
With context

mj-font usage

0%

0%

Font configuration

40%

25%

Font application

60%

25%

Automatic font detection

25%

0%

Test case coverage

100%

100%

100%

Email Template Generator with JSON Input

JSON input format

Criteria
Without context
With context

Uses mjml2html function

100%

100%

JSON object structure

100%

100%

Root mjml element

100%

100%

Section components

100%

100%

Column layout

100%

100%

Content components

100%

100%

Return value handling

100%

100%

100%

Custom Email Document Structure

Custom HTML skeleton

Criteria
Without context
With context

Uses mjml2html function

100%

100%

Custom skeleton option

100%

100%

Skeleton function signature

100%

100%

Includes required placeholders

100%

100%

Custom meta tags

100%

100%

Tracking pixel placement

100%

100%

100%

Custom Email Component Validator

Type system customization

Criteria
Without context
With context

Unit pattern parsing

100%

100%

Multiple value unit validation

100%

100%

Single value unit validation

100%

100%

Enum pattern parsing

100%

100%

Enum value validation

100%

100%

Hex color validation

100%

100%

RGB/RGBA color validation

100%

100%

Named color validation

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-mjml-head-font
Evaluated
Agent
Codex

Table of Contents