Giter Site home page Giter Site logo

Comments (4)

mjhea0 avatar mjhea0 commented on July 28, 2024

Hi Lukas - So, you're using my vue lexer with https://github.com/gpoore/minted and it's not working?

from vue-lexer.

lksnmnn avatar lksnmnn commented on July 28, 2024

Yes. But the above described error is also happening, when I do a plain pygmentize call via command line. Like in your examples I call

pygmentize -O full -f html -o test.html code/test.vue

With test.vue having the above content.

The lexer is installed:

pygmentize -L lexers | grep vue
* vue, vuejs:
    vue (filenames *.vue)

Is it working for you?

from vue-lexer.

mjhea0 avatar mjhea0 commented on July 28, 2024

You can see the example v-for here: https://github.com/testdrivenio/vue-lexer/blob/master/examples/example3.png and I'm testing a v-for here: https://github.com/testdrivenio/vue-lexer/blob/master/tests/test_lexer.py#L79

I'm not sure why your lexer is not working right. Want to add some test code?

from vue-lexer.

lksnmnn avatar lksnmnn commented on July 28, 2024

Example 3 works correctly on my machine too.
I added a PR with an additional v-for test which should fail. See PR #2

from vue-lexer.

Related Issues (1)

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.