Giter Club home page Giter Club logo

Comments (2)

AllanCameron avatar AllanCameron commented on July 17, 2024

Do you propose this would be as a replacement for or an addition to the current parsing method we have? If there is a particular feature we wish to add such as breaking up strings into substrings, might it be better to implement that within our own framework than absorb an extra dependency? That particular feature does not seem an insurmountable challenge. On the other hand, we could probably simplify our own code substantially while improving its feature set by switching to marquee.

Interestingly, marquee uses a custom C++ tokenizer and parser stack to process the markdown, very similar to the mechanism I have used myself for pdf parsing, and close to what I envisaged we could write when rich text support was first discussed back in #39. I think we had decided against it because compiled code would be too bothersome to maintain. I'm glad a more feature-filled version is available to use now (and maintained by someone else!)

from geomtextpath.

teunbrand avatar teunbrand commented on July 17, 2024

For now, I'll propose this as an addition to the current rich text parsing and maybe start gradually deprecating the current method over time. I'm willing to put {marquee} into the suggested packages in order to not maintain a parser. If {gridtext} had exported their parser, I think I had preferred to use that too; but since they didn't, we had to copy it. I'm still convinced that I wouldn't be able to maintain a C++ parser :p

I'll have to figure out exactly how it'll work but my initial feel for this feature would be that we could pass e.g. richtext = marquee::classic_style() (or another style set) and then {geomtextpath} would know to use marquee parsing.

from geomtextpath.

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.