CodeSegment
A fenced code block of a markdown text, with the language its fence names (empty when none).
Import:
import type { CodeSegment } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-types';Signature:
export interface CodeSegmentProperties
| Property | Type | Description |
|---|---|---|
| lang | string | |
| text | string | |
| type | 'code' |
Links to this page: