This repository contains a JSON directory of plugins for the Apex Markdown Processor. Users can browse available plugins and install them using apex --list-plugins and apex --install-plugin <id>.
To add your plugin to the central directory:
-
Fork the
ApexMarkdown/apex-pluginsrepository on GitHub to your own account or organization. -
Clone your fork locally and create a new branch for your plugin entry (for example,
add-my-plugin). -
Open the
apex-plugins.jsonfile in the root of your fork and add a new object to thepluginsarray with the following fields:id(must match theidin your plugin'splugin.yml)titledescriptionauthorhomepagerepo(canonical Git URL for the plugin repository)
Example entry:
{ "id": "my-plugin", "title": "My Plugin", "description": "A brief description of what the plugin does.", "author": "Your Name", "homepage": "https://github.com/yourusername/apex-plugin-my-plugin", "repo": "https://github.com/yourusername/apex-plugin-my-plugin" } -
Commit your changes and push the branch to your fork on GitHub.
-
From your fork, open a pull request against the
mainbranch ofApexMarkdown/apex-plugins, briefly describing your plugin and confirming that theidandrepomatch your published plugin repository. -
Once the pull request is reviewed and merged, your plugin will show up in
apex --list-pluginsand be installable viaapex --install-plugin <id>.
Before submitting your plugin, ensure:
- Your plugin repository contains a
plugin.ymlmanifest file at its root - The
plugin.ymlincludes at leastid,phase, and eitherhandler.command(for external plugins) orpattern/replacement(for declarative plugins) - The
idinplugin.ymlmatches theidin yourapex-plugins.jsonentry - Your plugin repository is publicly accessible via the
repoURL
For detailed information on creating plugins, including plugin manifest format, processing phases, external handler plugins, and declarative regex plugins, see the Apex Plugins documentation.