render(
input,options) ->result,err
Render markdown to styled terminal output
Parses and renders markdown through the named renderer. Options:
renderer: renderer name ("static" default)width: content width (default 80)rss: custom RSS table to merge with defaultsindent: global indentation (default 0)hide_link_urls: hide URLs in rendered output (default false)supports_ts: terminal supports OSC 66 text sizing (default true)borders: draw the frames of tables, code blocks and divs on their
cells' edges (default term.supports_borders(), false until a probe ran)diagrams: draw a mermaid fence as its picture (default true)graphics: draw a picture's strokes as pixels under its text (default
term.supports_graphics(), false until a probe ran)cell_w, cell_h: terminal cell size in pixels; caps image display
width at natural size and refines image row estimates. Without them
the renderer guesses a 1:2 cell and sends the image's rows with it