Giter VIP home page Giter VIP logo

Comments (13)

pihentagy avatar pihentagy commented on August 16, 2024 1

For reference, because you didn't provide it: https://github.com/markdown-it/markdown-it-deflist

Sort of. It is inside the test text 😛

from scripts.

pbek avatar pbek commented on August 16, 2024

Maybe you should provide links to the files you tried to include.

from scripts.

pihentagy avatar pihentagy commented on August 16, 2024

The other referenced file is here:
markdown-it-deflist.txt

from scripts.

pbek avatar pbek commented on August 16, 2024

Maybe you could even pack together your whole directory with all scripts. That would make things easier.

from scripts.

pihentagy avatar pihentagy commented on August 16, 2024

markdown-it.tar.gz

from scripts.

pbek avatar pbek commented on August 16, 2024

For reference, because you didn't provide it: https://github.com/markdown-it/markdown-it-deflist

from scripts.

pbek avatar pbek commented on August 16, 2024

The error message is markdown-it.js:1081: TypeError: Property 'apply' of object deflist is not a function and I haven't found a way to load the plugin yet.

from scripts.

pbek avatar pbek commented on August 16, 2024

I think I have it

md = new MarkdownIt.markdownit(optionsObj).use(MarkdownItDeflist.markdownitDeflist);

from scripts.

pihentagy avatar pihentagy commented on August 16, 2024

Yes, it works, thanks for the quick help!

Maybe it is worth to think about how can one add plugins to markdown-it, since it has some…

from scripts.

pbek avatar pbek commented on August 16, 2024

Maybe it is worth to think about how can one add plugins to markdown-it, since it has some…

there will be no easy way, because the plugins need to be bundled, the only way will be 4859db3. You can now use the script from the repository.

from scripts.

pbek avatar pbek commented on August 16, 2024

Did the latest release of the script work for you?

from scripts.

pihentagy avatar pihentagy commented on August 16, 2024

Thank you for including this plugin that fast (yes, it works fine!), but (to talk against myself:) would you really add (and maintain) all markdown-it plugins which are requested by users? ;)

from scripts.

pbek avatar pbek commented on August 16, 2024

would you really add (and maintain) all markdown-it plugins which are requested by users?

I would maintain pull requests to the script.

from scripts.

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.