OpenUI.Parser.Source (OpenUI v0.1.1)

Copy Markdown View Source

Prepares response text for parsing (language.md, section 1.2): fence extraction, comment stripping and trimming, in that order.

Summary

Functions

Returns the program text inside a response.

Functions

prepare(text)

@spec prepare(String.t()) :: String.t()

Returns the program text inside a response.