-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response text should be easily selectable #22
Comments
I know Markdown is a very common thing with it's simple formatting, and looks nice on a screen. But as a writer or just doing research, it would be great to just have plain text; no formatting and no bulleted/numbered lists ... it becomes a tedious editing step after doing a copy/paste into Sublime, Textedit, or Google Docs. Maybe a user selectable on/off option for Markdown would be great. |
Good suggestion @cleesmith, thanks. Let's definitely implement that! A checkbox in Settings would be a good way to handle it. |
hey @cleesmith... small clarification. Is your request to see the output as plaintext (e.g. unrendered markdown)? That's what I originally thought you were asking for, but note that it would still include numbered lists, etc. To get it to have a different format you'd need to ask the model (either through the system prompt or your chat). The default system prompt includes a request for markdown, so take that out if you don't want it. Here's an example of what that would look like (unrendered markdown). |
This comment was marked as outdated.
This comment was marked as outdated.
Good to know it worked. Happy for any contribution back if the component is portable. |
Currently you can only select text 1 paragraph at a time due to the markdown package we use. This is incredibly annoying! There's an issue tracking that here but no line of sight to a solution gonzalezreal/swift-markdown-ui#264
An alternative to get this functionality could be to use libcmark_gfm directly like FSNotes does here then put the resulting HTML in a web view. https://github.com/glushchenko/fsnotes/blob/2d15de3f8148eba312fd3552e86725f264f1497b/FSNotes/Business/Markdown.swift#L13
Maybe there's an even better solution, idk
The text was updated successfully, but these errors were encountered: