add support for search pattern handlers; add support for markdown links