TCodeLang
type
Data Display
Syntax-highlighting language identifiers supported by OrigamCode — a curated subset of shiki grammars bundled with the design system.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- html
- HTML — tags, attributes and inline scripts/styles.
- plaintext
- No syntax highlighting — raw text output.
- vue
- Vue SFC — template, script and style blocks highlighted.
- ts
- TypeScript — type annotations, generics and interfaces.
- js
- JavaScript — ES2022+ syntax supported.
- tsx
- TypeScript JSX — React TSX files.
- jsx
- JavaScript JSX — React JSX files.
- scss
- SCSS — variables, nesting and mixins highlighted.
- css
- CSS — properties, selectors and at-rules.
- json
- JSON — keys, values and nested structures.
- bash
- Bash / shell script — commands, flags and pipes.
- xml
- XML — elements, attributes and CDATA sections.
- yaml
- YAML — keys, values, anchors and multi-line strings.
- md
- Markdown — headings, emphasis, links and code fences.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Code block with TypeScript highlighting