aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/hook/markdown_to_bb.bb5
-rw-r--r--doc/hooklist.bb3
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/hook/markdown_to_bb.bb b/doc/hook/markdown_to_bb.bb
new file mode 100644
index 000000000..8af637c8c
--- /dev/null
+++ b/doc/hook/markdown_to_bb.bb
@@ -0,0 +1,5 @@
+[h2]markdown_to_bb[/h2]
+
+Called when processing markdown to bbcode conversion such as when importing Diaspora protocol source or other markdown sources. The plugin is called post conversion.
+
+The function takes one argument which is the string being converted. It may be additionally processed by the plugin.
diff --git a/doc/hooklist.bb b/doc/hooklist.bb
index d190166f0..e67f791ae 100644
--- a/doc/hooklist.bb
+++ b/doc/hooklist.bb
@@ -320,6 +320,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
[zrl=[baseurl]/help/hook/magic_auth]magic_auth[/zrl]
Called when processing a magic-auth sequence
+[zrl=[baseurl]/help/hook/markdown_to_bb]markdown_to_bb[/zrl]
+ Called when processing markdown conversion
+
[zrl=[baseurl]/help/hook/match_webfinger_location]match_webfinger_location[/zrl]
Called when processing webfinger requests