Top Level Namespace
Defined in:
Method Summary
- abort_with(message : String)
-
list_styles(selected : String)
List the built-in stylesheets, marking the selected one.
- main(source, output, page_size, margin, css_paths, font_paths, emoji_font, header, footer, theme, code_theme, style, html_input, pageless, hyphenate, language)
- main(source, theme, code_theme, force_links = false, force_color = false, width = nil, hyphenate = false, language = "en", images = nil, no_links = false, no_pager = false)
- main(source)
-
pick_code_theme(code_theme : String | Nil, theme : String | Nil, style : String)
A dark page with the light default code theme would glow: pick a dark code theme for the dark style unless one was asked for explicitly.
- register_fonts(font_paths : Array(String))
- setup_emoji_font(emoji_font : String)
Method Detail
def main(source, theme, code_theme, force_links = false, force_color = false, width = nil, hyphenate = false, language = "en", images = nil, no_links = false, no_pager = false)
#
def pick_code_theme(code_theme : String | Nil, theme : String | Nil, style : String)
#
A dark page with the light default code theme would glow: pick a dark code theme for the dark style unless one was asked for explicitly. An explicit -t keeps its existing behavior (the code theme follows it when tartrazine knows it).