Git Product home page Git Product logo

Comments (7)

mtuchowski avatar mtuchowski commented on August 10, 2024

Currently there is no such functionality, but I was thinking about it. Do you have any particular way of providing such a list from your (user) point of view?

The solution I was thinking about would be to use a configuration file, maybe constructed like Rails i18n file. It would look like this:

en:
  - whitelist
  - this
  - words
es:
  - 
# And so on

Would this suite your needs?

I knew this issue would pop up sooner or later 😄

from mdspell.

mufid avatar mufid commented on August 10, 2024

Hi mtuchowski. Thanks for the very fast response! :D

Yes of course, It would be pretty neat to use yml configuration. But i am thinking, is there performance issue? what if someone have 10000 whitelisted word?

Btw, i am sorry for opening too much ticket in this early project. But i find this project is interesting since so far as i find out there is no decent aspell-ruby wrapper.

from mdspell.

mtuchowski avatar mtuchowski commented on August 10, 2024

First of all, I really appreciate the feedback from you (or anybody else that might be willing to create issues).

As for the performance:

Why would anybody want to whitelist 10000 words? MdSpell can use any Aspell dictionary (custom ones should also work). If you were thinking about code blocks in markdown, I already skip them while parsing (inline code snippets also).

For now I see no problem in YAML itself. If there will be a performance issue, I'll solve it.

from mdspell.

mufid avatar mufid commented on August 10, 2024

Thanks! Looking forward to this feature 😄

from mdspell.

mufid avatar mufid commented on August 10, 2024

Hi, any update for this? Thanks 😄

from mdspell.

dalehamel avatar dalehamel commented on August 10, 2024

👍 on this, i'll see about submitting a PR if i can understand the code

from mdspell.

dalehamel avatar dalehamel commented on August 10, 2024

@mufid @mtuchowski I added support for this in a PR https://github.com/mtuchowski/mdspell/pull/4/files

from mdspell.

Related Issues (5)

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.