aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-14 14:27:21 -0700
committerzotlabs <mike@macgirvin.com>2016-10-14 14:27:21 -0700
commit47bfb681c0595d80e01729e477ed153d5e77337a (patch)
tree4d6683e945d2678b440107f9299076e17e0e342f /doc/hook
parent3f7f5f9429873118ee51d7c8f4513be837b8d9ef (diff)
downloadvolse-hubzilla-47bfb681c0595d80e01729e477ed153d5e77337a.tar.gz
volse-hubzilla-47bfb681c0595d80e01729e477ed153d5e77337a.tar.bz2
volse-hubzilla-47bfb681c0595d80e01729e477ed153d5e77337a.zip
add new hook doc
Diffstat (limited to 'doc/hook')
-rw-r--r--doc/hook/markdown_to_bb.bb5
1 files changed, 5 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.