The remark-wikirefs package is responsible for handling the wikirefs markdown syntax. It can be found on GitHub.
remark-wikirefs