Knap.md
LogicFiltersVariablesAPIGitHub ↗

Guide

VariablesLogicFilters

Reference

API

Project

GitHub ↗npm ↗

title

Convert text to Title Case.

Filters/title

Syntax

{{ value | title }}

Example

01

Basic usage

InputTS
1{2  "title": "hello world"3}
TemplateKNAP
1{{ title | title }}
OutputKNAP
1Hello World

Related filters

capitalizeUppercase the first character and lowercase the rest.lowerConvert text to lowercase.upperConvert text to uppercase.
Previous← snakeNexttrim →
Knap is open source under the MIT license.View source ↗

On this page

SyntaxExamplesRelated filters
title filter — Knap