monks/text_emphasis_position

The text-emphasis-position CSS property sets where emphasis marks are drawn. Similar to the text rendered by the <ruby> HTML element, if there isn’t enough room for emphasis marks, the line height is increased.

Values

pub const auto_: #(String, String)
  • : Draws marks over the text in horizontal writing mode and to the right of the text in vertical writing mode.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const left: #(String, String)
  • : Draws marks to the left of the text in vertical writing mode.
pub const over: #(String, String)
  • : Draws marks over the text in horizontal writing mode.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for text-emphasis-position

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const right: #(String, String)
  • : Draws marks to the right of the text in vertical writing mode.
pub const under: #(String, String)
  • : Draws marks under the text in horizontal writing mode.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document