aws / mynah-ui

https://aws.github.io/mynah-ui/
Apache License 2.0
13 stars 11 forks source link

Fix code indentation and nested formatting issue #99

Closed volodkevych closed 3 weeks ago

volodkevych commented 3 weeks ago

Problem

The problem is described in related GitHub issue: https://github.com/aws/mynah-ui/issues/97

Solution

Revert fix for another issue that is removing leading whitespace characters from the prompt. The previous fix is causing more impacting formatting issues. Also, the change requested is not a bug, but a feature request. Current MynahUI treats any prompt as markdown, where 4 leading whitespaces means code block. Current MynahUI does not provide an option to input prompt as a plain text.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.