Open dcsan opened 9 years ago
for the main wiki what are relative links when added to the wiki need to absolute URLs when in the chat
so scan for any links begininng with / and insert the base URL of the wiki, (from AppConfig)
also it would be nice to allow users to add links using the [[syntax]] like [[something]] which would then be made into a wikilink in the same way
add this code into the KBase.initSync https://github.com/dcsan/gitterbot/blob/master/nap/lib/bot/KBase.js#L49
method
@irinatag can you look at?
for the main wiki what are relative links when added to the wiki need to absolute URLs when in the chat
so scan for any links begininng with / and insert the base URL of the wiki, (from AppConfig)
also it would be nice to allow users to add links using the [[syntax]] like [[something]] which would then be made into a wikilink in the same way
add this code into the KBase.initSync https://github.com/dcsan/gitterbot/blob/master/nap/lib/bot/KBase.js#L49
method