Skip to content

Commit

Permalink
Swap contents for HTMLString and MarkdownString (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianversloot authored Dec 5, 2023
1 parent 0dd92a5 commit 812e82e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ and build and return this custom return type from one of your steps.

If you already have HTML, Markdown, or CSV data available as a string inside your step, you can simply cast them to one of the following types and return them from your step:

* `zenml.types.HTMLString` for strings in HTML format, e.g., `"# Header\nSome text"`,
* `zenml.types.MarkdownString` for strings in Markdown format, e.g., `"<h1>Header</h1>Some text"`,
* `zenml.types.HTMLString` for strings in HTML format, e.g., `"<h1>Header</h1>Some text"`,
* `zenml.types.MarkdownString` for strings in Markdown format, e.g., `"# Header\nSome text"`,
* `zenml.types.CSVString` for strings in CSV format, e.g., `"a,b,c\n1,2,3"`.

#### Example:
Expand Down

0 comments on commit 812e82e

Please sign in to comment.