Git Product home page Git Product logo

Comments (6)

patorjk avatar patorjk commented on September 26, 2024 3

Currently there isn't a way, this is a good idea though and would be easy to add. I'll try and look into this later this week.

from figlet.js.

heisGarvit avatar heisGarvit commented on September 26, 2024 1

When can we use this feature?

from figlet.js.

jcubic avatar jcubic commented on September 26, 2024

@patorjk do you accept PRs? There are two open, I may take a look and see if I will be able to create line wrapping.

PS: this project is awesome I use in to demo my library jQuery Terminal https://codepen.io/jcubic/pen/VwvEvmN

from figlet.js.

patorjk avatar patorjk commented on September 26, 2024

Yep, I’ve accepted 19 in total. I’d be open to this feature as long as it didn’t negatively effect other things. I looked into it a long time ago but can’t remember why I didn’t add it.

The two PRs outstanding: one looks like spam (I’ve been meaning to take a closer look and close it) and the other changes the formatting of the library (I prefer PRs to be specific and not so multiple things).

from figlet.js.

jcubic avatar jcubic commented on September 26, 2024

Ok, will create PR, I have already working line wrapping, but it don't handle whitespaces yet.

I will use options: width and whitespaceBreak maybe, if width is set it will check the value of whitespaceBreak if it's true it will break the ASCII text on closest whitespae otherwise it will break the words.

from figlet.js.

patorjk avatar patorjk commented on September 26, 2024

Feature added as of version 1.5.0. Release notes here: https://github.com/patorjk/figlet.js/releases/tag/1.5.0

from figlet.js.

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.