# name: embed-codimd # about: Embed codimd pads using Onebox. Based on https://github.com/fuerst/embed-etherpad-lite # version: 0.1 # author: realitygaps # url: https://lab.libreho.st/librehosters/embed-codimd class Onebox::Engine::CodimdOnebox include Onebox::Engine # we only want to match for a specific codimd domain matches_regexp %r{\Ahttps://pad\.public\.cat/} def to_html "
Go to this Pad" end end