File tree Expand file tree Collapse file tree 7 files changed +31
-12
lines changed
lib/puppet-strings/markdown/templates Expand file tree Collapse file tree 7 files changed +31
-12
lines changed Original file line number Diff line number Diff line change 1- ### `<%= name %> `
1+ ### < a name =" <%= link %> " > </ a > `<%= name %> `
22
33<% if text -%>
44<%= text %>
4747<% if params -%>
4848#### Parameters
4949
50- The following parameters are available in the `<%= name %> ` <%= @type %> .
50+ The following parameters are available in the `<%= name %> ` <%= @type %> :
5151
5252<% params . each do |param | -%>
53- ##### `<%= param[:name] %> `
53+ * [`<%= param [ :name ] %> `](#<%= param [ :name ] %> )
54+ <% end -%>
55+
56+ <% params . each do |param | -%>
57+ ##### < a name ="<%= param [ :name ] %> "> </ a > `<%= param [ :name ] %> `
5458
5559<% if param [ :types ] -%>
5660Data type: `<%= param [ :types ] . join ( ', ' ) -%> `
Original file line number Diff line number Diff line change 1- ### `<%= name %> `
1+ ### < a name =" <%= link %> " > </ a > `<%= name %> `
22
33<% if text -%>
44<%= text %>
4545<% end -%>
4646<% end -%>
4747<% if alias_of -%>
48- Alias of `<%= alias_of %> `
48+ Alias of
49+
50+ ```puppet
51+ <%= alias_of %>
52+ ```
4953
5054<% end -%>
5155<% if params -%>
5256#### Parameters
5357
54- The following parameters are available in the `<%= name %> ` <%= @type %> .
58+ The following parameters are available in the `<%= name %> ` <%= @type %> :
59+
60+ <% params . each do |param | -%>
61+ * [`<%= param [ :name ] %> `](#<%= param [ :name ] %> )
62+ <% end -%>
5563
5664<% params . each do |param | -%>
57- ##### `<%= param[:name] %> `
65+ ##### < a name =" <%= param [ :name ] %> " > </ a > `<%= param [ :name ] %> `
5866
5967<% if param [ :types ] -%>
6068Data type: `<%= param [ :types ] . join ( ', ' ) -%> `
Original file line number Diff line number Diff line change 1- ### `<%= name %> `
1+ ### < a name =" <%= link %> " > </ a > `<%= name %> `
22
33#### `<%= signature %> `
44
Original file line number Diff line number Diff line change 1- ### `<%= name %> `
1+ ### < a name =" <%= link %> " > </ a > `<%= name %> `
22
33Type: <%= type %>
44
Original file line number Diff line number Diff line change 1- ### `<%= name %> `
1+ ### < a name =" <%= link %> " > </ a > `<%= name %> `
22
33<% if text -%>
44<%= text %>
Original file line number Diff line number Diff line change 1- ### `<%= name %> `
1+ ### < a name =" <%= link %> " > </ a > `<%= name %> `
22
33<% if text -%>
44<%= text %>
@@ -98,7 +98,11 @@ Default value: `<%= prop[:default] %>`
9898The following parameters are available in the `<%= name %> ` <%= @type %> .
9999
100100<% parameters . each do |param | -%>
101- ##### `<%= param[:name] %> `
101+ * [`<%= param [ :name ] %> `](#<%= param [ :name ] %> )
102+ <% end -%>
103+
104+ <% parameters . each do |param | -%>
105+ ##### < a name ="<%= param [ :name ] %> "> </ a > `<%= param [ :name ] %> `
102106
103107<% if param [ :values ] -%>
104108Valid values: `<%= param [ :values ] . map { |value | value_string ( value ) } . join ( '`, `' ) %> `
Original file line number Diff line number Diff line change 88
99# Allow trailing punctuation in headings.
1010exclude_rule 'MD026'
11+
12+ # Allow html tags
13+ exclude_rule 'MD033'
You can’t perform that action at this time.
0 commit comments