mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-14 10:53:48 +00:00
Improved docx and odt import (#890)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
ed52abfd37
commit
6eab9dc574
14 files changed
+363
-42
No files matched your search
@@ -1,8 +1,10 @@
|
||||
using System.Text;
|
||||
|
||||
namespace AIStudio.Tools;
|
||||
|
||||
public sealed class SlideImageContent(string base64Image) : ISlideContent
|
||||
/// <summary>
|
||||
/// An image of a slide, ready to be appended to the slide's Markdown.
|
||||
/// </summary>
|
||||
/// <param name="markdownImage">The image as a Markdown image with an embedded data URI.</param>
|
||||
public sealed class SlideImageContent(string markdownImage) : ISlideContent
|
||||
{
|
||||
public StringBuilder Base64Image => new(base64Image);
|
||||
public string MarkdownImage => markdownImage;
|
||||
}
|
||||
Reference in new issue
Block a user