hackmdio / codimd

CodiMD - Realtime collaborative markdown notes on all platforms.
https://hackmd.io/c/codimd-documentation
GNU Affero General Public License v3.0
9.17k stars 1.05k forks source link

hackmd plug-ins #787

Open oceatoon opened 6 years ago

oceatoon commented 6 years ago

Hi we massively love HackMD we are developpers and have imagined upgrading HackMD with a layer connecting to an external API that could pull information from an external DB , with autocompletion or execute processes 2 ex :

SISheogorath commented 6 years ago

No, there is currently no plugin system. Currently all changes need to be made within the code base.

Feel free to contribute :) We try to review everything as soon as possible.

oceatoon commented 6 years ago

Hi thanks for the quick answer can someone just point me into the one file that handles the edit typing, or where I could add text exception like if(typed starts with @xxx) then launch a small autocomplete proposal list thanks

jackycute commented 6 years ago

Hi @oceatoon Please take a look at https://github.com/hackmdio/hackmd/blob/master/public/js/index.js#L3198

SISheogorath commented 6 years ago

@oceatoon Any progress on this? Otherwise I would like to close it.

pirate commented 6 years ago

@oceatoon It's not an "official solution", but you can hack together some basic plugin-style behavior using the codimd-cli: https://github.com/hackmdio/codimd-cli to do importing and exporting.