monks/ruby_align

The ruby-align CSS property defines the distribution of the different ruby elements over the base.

Values

pub const center: #(String, String)
  • : Is a keyword indicating that the ruby will be aligned at the middle of the base text.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for ruby-align

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const space_around: #(String, String)
  • : Is a keyword indicating that the extra space will be distributed between the elements of the ruby, and around it.
pub const space_between: #(String, String)
  • : Is a keyword indicating that the extra space will be distributed between the elements of the ruby.
pub const start: #(String, String)
  • : Is a keyword indicating that the ruby will be aligned with the start of the base text.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for ruby-align. It will be wrapped in var() and have -- prepended.

Search Document