diff options
author | how <how@zoethical.com> | 2018-11-14 11:48:24 +0100 |
---|---|---|
committer | how <how@zoethical.com> | 2018-11-14 11:48:24 +0100 |
commit | 20a073975568783711566f9d86bd0512ae92f1f8 (patch) | |
tree | b0d061008a9b38865d76fd539cd96de2ac7a72cc /README.md | |
parent | f96eb3440b6f0af0524197210c49de0e45775adf (diff) | |
parent | aa3032f1074106a3472a8e8b25b0395ea2a52eb1 (diff) | |
download | discourse-pad-0.1.0.tar.gz |
Version 0.1.0v0.1.0
- Tighten URL regular expression to match https://pad.libreho.st/
- See [CHANGELOG](../CHANGELOG.md)
See merge request librehosters/embed-codimd!1
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,10 +1,12 @@ # Embed codimd pads into Discourse for libreho.st -This allows you to embed libreho.st pads into discourse. Its based on https://github.com/fuerst/embed-etherpad-lite which embeds pads into posts using the Onebox mechanism. +This allows you to embed libreho.st pads into discourse. It is based on https://github.com/fuerst/embed-etherpad-lite which embeds pads into posts using the Onebox mechanism. # Usage -After installation just insert codimd links into your Discourse posts or comments. The Etherpad will be embedded using the famous and beloved [IFRAME](https://en.wikipedia.org/wiki/HTML_element#Frames) tag and is fully operational. +**This is meant to use with <https://talk.libreho.st>. You need to fork and adapt to your case.** + +After installation just insert codimd links into your Discourse posts or comments. The pad will be embedded using the famous and beloved [IFRAME](https://en.wikipedia.org/wiki/HTML_element#Frames) tag and is fully operational. # Installation @@ -18,5 +20,4 @@ The configuration line you have to add to your container's app.yml file looks li # Details -The plugin uses the ["Brand new plugin interface"](https://meta.discourse.org/t/brand-new-plugin-interface/8793/88) to change URL's like `http(s)://domain.tld/pad-id` into HTML code like `<iframe src='http(s)://domain.tld/pad-id'></iframe>`. - +The plugin uses the ["Brand new plugin interface"](https://meta.discourse.org/t/brand-new-plugin-interface/8793/88) to change URL's like `http(s)://domain.example/pad-id` into HTML code like `<iframe src='http(s)://domain.example/pad-id'></iframe>`. |