InlineCode
import { InlineCode } from "jsr:@ende/markdown";interface
interface InlineCodeA code span, such as `code`.
Example: Usage
import type { InlineCode } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";
const node: InlineCode = { type: "inlineCode", value: "x = 1" };
assertEquals(node.value, "x = 1");
Properties
type
type: "inlineCode"Node type.
value
value: stringThe code, without the backticks.