Top Level Namespace

Defined Under Namespace

Modules: FontMetrics, Markup, RSyntaxTree Classes: MarkupParser, RSTError, String

Constant Summary collapse

FONT_DIR =

rsyntaxtree.rb

Facade of rsyntaxtree library. When loaded by a driver script, it does all the necessary ‘require’ to use the library. Copyright © 2007-2024 Yoichiro Hasebe <[email protected]>

File.expand_path(File.join(__dir__, "/../fonts"))
ETYPE_NODE =
1
ETYPE_LEAF =
2
SUBSCRIPT_CONST =
0.7
FONT_SCALING =
2
LINE_SCALING =
1
BLINE_SCALING =
2
WHITESPACE_BLOCK =
""
DEFAULT_OPTS =
{
  format: "png",
  leafstyle: "auto",
  fontstyle: "sans",
  fontsize: 16,
  linewidth: 1,
  vheight: 2.0,
  color: "modern",
  symmetrize: "on",
  transparent: "off",
  polyline: "off",
  hide_default_connectors: "off"
}.freeze