AlignType

import { AlignType } from "jsr:@ende/markdown";

type alias

type AlignType = "left" | "right" | "center" | null

The alignment of a table column: :-- is "left", --: is "right", :-: is "center", and --- is null.

Example: Usage

import type { AlignType } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";

const align: AlignType[] = ["left", null, "right"];
assertEquals(align.length, 3);

Source