From fcb7c2c70ff602f623f0eca07c3efc4299b77747 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Sun, 12 Dec 2021 19:25:20 +0100 Subject: [PATCH] docs: change to {module} so markdown render will not crash is treated as an HTML tag --- apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl b/apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl index 93661ab53..36cf48da0 100644 --- a/apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl +++ b/apps/emqx_rule_engine/src/emqx_rule_engine_schema.erl @@ -118,7 +118,8 @@ fields("user_provided_function") -> [ {function, sc(binary(), #{ desc => """ The user provided function. Should be in the format: '{module}:{function}'.
-Where the is the erlang callback module and the {function} is the erlang function.
+Where {module} is the Erlang callback module and {function} is the Erlang function. +
To write your own function, checkout the function console and republish in the source file: apps/emqx_rule_engine/src/emqx_rule_outputs.erl as an example.