Giter VIP home page Giter VIP logo

Comments (6)

CodeDoctorDE avatar CodeDoctorDE commented on May 26, 2024

That's a good idea.
But I would show the # in the preview to have it easy to remove it again.
The app uses https://pub.dev/documentation/markdown/latest/ for markdown rendering. I'm currently not sure how I configure it to keep the #, *, ...

from butterfly.

MrGumpIT avatar MrGumpIT commented on May 26, 2024

I thought you could render the item once you hit enter. In which files is markdown handled?

from butterfly.

CodeDoctorDE avatar CodeDoctorDE commented on May 26, 2024

In edit mode the markdown won't be rendered.
It's inside app/lib/renderers/elements/markdown.dart

from butterfly.

MrGumpIT avatar MrGumpIT commented on May 26, 2024

I managed to get the markdown in edit mode, however I can't get an acknowledgment of when the enter key is pressed. I think an alternative would be to have a button to choose to enable live markdown editor. Unless you have some idea how to recognize a submit button or a line break

from butterfly.

CodeDoctorDE avatar CodeDoctorDE commented on May 26, 2024

What do you mean with that?
look at the action in the label handler.
But i don't see why you need to check that. New line isn't submitting, it's just, making a new line.

from butterfly.

MrGumpIT avatar MrGumpIT commented on May 26, 2024

I mean that now when you write you see the text formatted in markdown. But I would have liked it to happen when I pressed the enter key. But I don't know how to do it.

from butterfly.

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.