-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to write plugins? #10
Comments
Yes, at current time it's better to look into parser src, or existing pugins. I will add more examples & explanations, but do not expect it to be in top priority. |
Take a look at drafts https://github.com/markdown-it/markdown-it/tree/master/docs and api doc Will it help? Issue title is a bit abstract to decide how to solve it. I can answer particular questions and enhance docs, but can't write book "how to learn programming" |
No, it doesn't help. It describes some design decisions but does not explain how to use plugin API.
Probably, it's too concrete. Let's take an example: I want to process new tags in my text with MarkdownIt: |
Sorry, that's like teaching programming. I can't write such tutorials. If you at least try to do something - i can help. But writing for unclear goals it out of my scope. If your markup applied in paragraph-like content, those should be processed in inline rules. If you need pairs (open/close) - look emphasis-like rules. For plugin packing - look existing emoji plugin. |
I'm trying. I'm trying to add parsing of |
Man, all i see - a huge unsplitted paragraphs, difficult to read, no exact markup spec, abstract talks and abstrat issue title. If you really need help - be specific. I can't discuss theory of writing good docs and other shit. Create ticket "how to do this markup?" and describe exactly and shortly what do you need to implement. Then i'll try to help, as i did to other devs. This ticket is closed as not enougth specific and unsolvable. |
The issue is actually about writing some doc. for your pile of code. Well, you think it is OK to ask you on every sneeze rather than to document it once and for all. That's fine but I wouldn't hire such a man for my job. |
Go with your brainfucking to someone's else repo. You waste my time with idiotic posting. |
Specially for @LavirtheWhiolet and anybody else with same brain decease, summarizing what has being said and by some reason ignored:
You are welcome to write some! Although I doubt you can.
Piss off! Who told you that we are seeking for a job? Who th f**k told you that you will be able to interest us to be willing work "for you"? NB @LavirtheWhiolet get back to your homeworks. |
@ixti may be his mom given him coins to hire someone do his homeworks. Don't teach him how to do serious business, or you will loose opportunity to be hired. |
There are no any documentation or tutorial on how to write syntax plugins for Markdown-it, neither in this repository nor in internet.
The text was updated successfully, but these errors were encountered: