koog-agents
Toggle table of contents
0.1.0
common
Platform filter
common
Switch theme
Search in API
koog-agents
prompt-markdown
/
ai.koog.prompt.markdown
/
MarkdownContentBuilder
/
LineContext
/
code
code
fun
code
(
code
:
String
)
:
MarkdownContentBuilder.LineContext
(
source
)
Adds a code span (
code
) to the line.
Return
This context for method chaining
Parameters
code
The code to add