Plugin advice, API keyword linker


(Martin Walsh) #1

So new to creating a plugin, would appreciate any advice on creating the following:

Would like to create a plugin that will auto link API Classe names in post to API documentation URL.
API Docs: http://www.cocos2d-swift.org/docs/api/index.html

So I’m thinking, they all start with CC which makes life easier, so I could regex for CC* against an array of the API classes? The actual URL links are straightforward which helps.

Would this be most similar to say the emoji plugin?

It would be great as a 2.0 to have the option to pull in info like it does with GitHub links, specify a class and method and it would pull in the documentation.

Thanks