viewer_server()
Send the code and render options to the browser for drawing.
Usage
viewer_server(
input,
output,
session,
code,
)Call with the same id as viewer_ui(), as in viewer_server("viewer", code=code).
Parameters
code: reactive.Value[str]- Mermaid code to draw, usually the value returned by editor_server().