Coder Social home page Coder Social logo

Comments (5)

TheR1D avatar TheR1D commented on June 12, 2024 2

This feature was added in 1.3.0.

Markdown formatting now depends on the role description. For instance, if the role includes "APPLY MARKDOWN" in its description, the output for this role will be Markdown-formatted. This applies to both default and custom roles. If you would like to disable Markdown formatting, edit the default role description in ~/.config/shell_gpt/roles.

But it is probably a good idea to disable it based on sys.stdout.isatty() as @jeanlucthumm mentioned. But I'm not sure how exactly we should implement it, since we specifcally requiring Markdown in the role description.

from shell_gpt.

edshamis avatar edshamis commented on June 12, 2024 1

It's about disabling the formatter, not about the md format. It would be lovely to have an option to print the response as is it to stdout without using md formatter. I wonder if I'm clear?))

from shell_gpt.

ryanfreckleton avatar ryanfreckleton commented on June 12, 2024 1

I was about to request this. Yes, the issue isn't markdown output, but the formatter, Rich, I think?

Outputting Markdown format without going through Rich would enable me to use it a lot more easily as part of my flow.

from shell_gpt.

TheR1D avatar TheR1D commented on June 12, 2024 1

Released in 1.4.0.

from shell_gpt.

jeanlucthumm avatar jeanlucthumm commented on June 12, 2024

#423 (comment)

from shell_gpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.