Git Product home page Git Product logo

Comments (7)

OvidijusParsiunas avatar OvidijusParsiunas commented on August 12, 2024 1

Hi @tasdflkjweio, I will investigate this bug shortly and report to you on the progress.

from deep-chat.

OvidijusParsiunas avatar OvidijusParsiunas commented on August 12, 2024 1

Hi @tasdflkjweio.

Deep Chat uses the Remarkable library's defaults to format text. This way the user will not experience any unexpected behaviour.

To note, if the parent application imports the highlight.js module as an external dependency, we specifically set the configuration to help with coding syntax.

The code can be found here.

from deep-chat.

OvidijusParsiunas avatar OvidijusParsiunas commented on August 12, 2024

Hi @tasdflkjweio. This issue has now been fixed in dev package versions 9.0.163.

Please note that the user message is parsed by the Remarkable library (just like the ai response messages), so the line (-) syntax will be re-formated to be a bullet point, would this be problematic?

Let me know, thanks!

from deep-chat.

tasdflkjweio avatar tasdflkjweio commented on August 12, 2024

had a chaotic couple days at work so just checking this out now.

so the line (-) syntax will be re-formated to be a bullet point, would this be problematic?
thanks for asking, it should be fine.

i'll test it out today and let you know soon

from deep-chat.

tasdflkjweio avatar tasdflkjweio commented on August 12, 2024

Alright, tested and it's a little better but a bit off still.

Example 1:

line 1
line 2
line 3
line 4
- bullet 1
- bullet 2
line 5

is formatted as:
image

Example 2:

line 1
line 2
line 3

line 4

- bullet 1
- bullet 2


line 5

line 6
line 7

is formatted as:
image

from deep-chat.

tasdflkjweio avatar tasdflkjweio commented on August 12, 2024

Ah i see - it seems Remarkable is expecting CommonMark format. Hrm

from deep-chat.

tasdflkjweio avatar tasdflkjweio commented on August 12, 2024

The breaks flag seems to improve this some. Line 5 is off, but everything else seems good:
image

The second example seems better:
image

That's presumably what you've enabled tho?

from deep-chat.

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.