Skip to content

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 CodeSegment

Properties

PropertyTypeDescription
langstring
textstring
type'code'

Links to this page: