tangle the hydra out. add doc to onclick function for cite links.