Skip to content

RemarkCode

Fenced or indented code.

Import:

import type { RemarkCode } from '@mnaoumov/obsidian-markdown-parser';

Signature:

export interface RemarkCode extends RemarkNodeBase<'code'>

Extends: RemarkNodeBase<‘code’>

Properties

PropertyTypeDescription
id?stringThe block id attached to it: on a block of the document and a list item, the id of a RemarkBlockId in it.
(Inherited from RemarkNodeBase)
langnull | stringThe first word of the info string, or null.
metanull | stringThe rest of the info string, or null.
position?RemarkPositionWhere it is in the document.
(Inherited from RemarkNodeBase)
type'code'The node type.
(Inherited from RemarkNodeBase)
valuestringThe code.

Links to this page: