Ember.JS homepage

URL copied to clipboard
URL copied to clipboard
<template>
    {{globalThis.Number "22"}}
</template>

Help


The editor has 3 modes
  • gjs / <template> - to learn more about this format, see The Tutorial
  • glimdown (glimmer + markdown) - this is the default and is great for writing documentation / demos / etc.
  • hbs - just a template
When in markdown / glimdown mode, code fences can be used to live-render components via metadata tags as well as render the code snippet the live code comes from.
```{language} {...metadata}
code
```
  • live - renders in place
  • live preview - renders in place, placing the source after the live render
  • live preview below - renders in place, placing the live render below the source
The only language tags that are supported in markdown / glimdown are hbs and gjs with gjs being the most useful.
```gjs live
<template>
  code
</template>
```
For any issues / questions, please file an issue here .