Quillon.Types (Quillon v0.3.0)

Copy Markdown View Source

Type definitions and constants for Quillon nodes and marks.

This module defines the valid node types, marks, and attribute value sets. These constants are used by other modules for type checking and validation.

Summary

Functions

Returns the valid align values.

Returns the list of all mark types.

Returns the list of attributed (tuple) marks.

Returns the valid background values.

Returns the list of block node types.

Returns the valid border color values.

Returns the valid border style values.

Returns the valid border values.

Returns the valid callout types.

Returns the valid color values.

Returns the valid columns range (1-6).

Returns the list of container node types.

Returns the valid divider styles.

Returns the valid font_color mark attributes.

Returns the valid font size values.

Returns the valid font weight values.

Returns the valid gap values.

Returns the valid heading levels (1-6).

Returns the valid highlight mark attributes.

Returns the valid indent range (0-5).

Returns the list of inline node types.

Returns the valid items (align-items) values.

Returns the valid justify values.

Returns the valid line height values.

Returns the valid link mark attributes.

Returns the list of list content node types.

Returns the valid mention mark attributes.

Returns the list of all node types.

Returns the valid opacity values.

Returns the valid rounded values.

Returns the valid shadow values.

Returns the list of simple (atom) marks.

Returns the valid spacing values.

Returns the list of table content node types (table rows).

Returns the list of table row content node types (table cells).

Returns the valid vertical align values.

Returns the valid width values.

Returns the valid wrap values.

Functions

align_values()

@spec align_values() :: [atom()]

Returns the valid align values.

all_marks()

@spec all_marks() :: [atom()]

Returns the list of all mark types.

attributed_marks()

@spec attributed_marks() :: [atom()]

Returns the list of attributed (tuple) marks.

background_values()

@spec background_values() :: [atom()]

Returns the valid background values.

block_types()

@spec block_types() :: [atom()]

Returns the list of block node types.

border_color_values()

@spec border_color_values() :: [atom()]

Returns the valid border color values.

border_style_values()

@spec border_style_values() :: [atom()]

Returns the valid border style values.

border_values()

@spec border_values() :: [atom()]

Returns the valid border values.

callout_types()

@spec callout_types() :: [atom()]

Returns the valid callout types.

color_values()

@spec color_values() :: [atom()]

Returns the valid color values.

columns_range()

@spec columns_range() :: Range.t()

Returns the valid columns range (1-6).

container_types()

@spec container_types() :: [atom()]

Returns the list of container node types.

divider_styles()

@spec divider_styles() :: [atom()]

Returns the valid divider styles.

font_color_attrs()

@spec font_color_attrs() :: [atom()]

Returns the valid font_color mark attributes.

font_size_values()

@spec font_size_values() :: [atom()]

Returns the valid font size values.

font_weight_values()

@spec font_weight_values() :: [atom()]

Returns the valid font weight values.

gap_values()

@spec gap_values() :: [atom()]

Returns the valid gap values.

heading_levels()

@spec heading_levels() :: Range.t()

Returns the valid heading levels (1-6).

highlight_attrs()

@spec highlight_attrs() :: [atom()]

Returns the valid highlight mark attributes.

indent_range()

@spec indent_range() :: Range.t()

Returns the valid indent range (0-5).

inline_types()

@spec inline_types() :: [atom()]

Returns the list of inline node types.

items_values()

@spec items_values() :: [atom()]

Returns the valid items (align-items) values.

justify_values()

@spec justify_values() :: [atom()]

Returns the valid justify values.

line_height_values()

@spec line_height_values() :: [atom()]

Returns the valid line height values.

list_content_types()

@spec list_content_types() :: [atom()]

Returns the list of list content node types.

mention_attrs()

@spec mention_attrs() :: [atom()]

Returns the valid mention mark attributes.

node_types()

@spec node_types() :: [atom()]

Returns the list of all node types.

opacity_values()

@spec opacity_values() :: [atom()]

Returns the valid opacity values.

rounded_values()

@spec rounded_values() :: [atom()]

Returns the valid rounded values.

shadow_values()

@spec shadow_values() :: [atom()]

Returns the valid shadow values.

simple_marks()

@spec simple_marks() :: [atom()]

Returns the list of simple (atom) marks.

spacing_values()

@spec spacing_values() :: [atom()]

Returns the valid spacing values.

table_content_types()

@spec table_content_types() :: [atom()]

Returns the list of table content node types (table rows).

table_row_content_types()

@spec table_row_content_types() :: [atom()]

Returns the list of table row content node types (table cells).

valign_values()

@spec valign_values() :: [atom()]

Returns the valid vertical align values.

width_values()

@spec width_values() :: [atom()]

Returns the valid width values.

wrap_values()

@spec wrap_values() :: [atom()]

Returns the valid wrap values.