# 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\.libreho\.st/}
def to_html
"
Goto this Pad"
end
end