Top Level Namespace

Defined in:

Constant Summary

RENDER_LIMITER = MarkpdfWeb::RateLimiter.new(MarkpdfWeb::MAX_RENDERS_PER_MIN, 1.minute)

Method Summary

Method Detail

def abort_with(message : String) #

[View source]
def list_styles(selected : String) #

List the built-in stylesheets, marking the selected one.


[View source]
def main(source, output, page_size, margin, css_paths, font_paths, emoji_font, header, footer, theme, code_theme, style, html_input, pageless, hyphenate, language, no_remote_images) #

[View source]
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) #

[View source]
def main(source) #

[View source]
def register_fonts(font_paths : Array(String)) #

[View source]
def setup_emoji_font(emoji_font : String) #

[View source]