diff --git a/lib/puppet-strings/markdown/templates/classes_and_defines.erb b/lib/puppet-strings/markdown/templates/classes_and_defines.erb index 805e227b..636ab60c 100644 --- a/lib/puppet-strings/markdown/templates/classes_and_defines.erb +++ b/lib/puppet-strings/markdown/templates/classes_and_defines.erb @@ -70,7 +70,11 @@ Data type:<%= code_maybe_block(param[:types].join(', ')) %> Options: <% options_for_param(param[:name]).each do |o| -%> +<% if o[:opt_types] -%> * **<%= o[:opt_name] %>** `<%= o[:opt_types][0] %>`: <%= o[:opt_text] %> +<% else -%> +* **<%= o[:opt_name] %>**: <%= o[:opt_text] %> +<% end -%> <% end -%> <% end -%>