CodeMirror Example
Linting, Autosize, and Bootstrap
Field 1
Handlebars
Helpers
Text
{{upper field}}
- upper case.
{{lower field}}
- lower case.
Links
{{url download 'Title'}}
- download link.
Logic
{{#if field}} {{else}} {{/if}}
- if else logic.
{{#each downloads}} {{/each}}
- loop array.
Fields
User
{{user.firstname}}
- user first name.
{{user.lastname}}
- user last name.
{{user.email}}
- user email.
{{user.title}}
- user title.
{{user.dob}}
- user date of birth.
Course
{{course.title}}
- course title.
{{course.duration}}
- course duration.
{{course.credits}}
- course credits.
HTML
Tags
<h1>your header</h1>
- large header.
<h2>your header</h2>
- medimum header.
<p>your text</p>
- paragraph of text.
<b>your text</b>
- bold text.
Commands
Select All
- Ctrl-A
Delete Line
- Ctrl-D
Undo
- Ctrl-Z
Redo
- Ctrl-Y
Find
- Ctrl-F
Find Next
- Ctrl-G
Find Prev
- Shift-Ctrl-G
Replace
- Shift-Ctrl-F
Replace All
- Shift-Ctrl-R
More ...
{{echo 'hello world'}
This is an invalid div.
Save