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
| Property | Type | Description |
|---|---|---|
| id? | string | The 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) |
| lang | null | string | The first word of the info string, or null. |
| meta | null | string | The rest of the info string, or null. |
| position? | RemarkPosition | Where it is in the document. (Inherited from RemarkNodeBase) |
| type | 'code' | The node type. (Inherited from RemarkNodeBase) |
| value | string | The code. |
Links to this page: