Unverified Commit 0292d793 by Francisco Giordano Committed by GitHub

add passthrough delimiters to avoid italics from underscores (#2169)

Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
parent 9edee8a7
{{~#*inline "typed-variable-array"~}} {{~#*inline "typed-variable-array"~}}
{{#each .}}[.var-type]#{{typeName}}#{{#if name}} [.var-name]#{{name}}#{{/if}}{{#unless @last}}, {{/unless}}{{/each}} {{#each .}}++[.var-type]#++{{typeName}}++#++{{#if name}} ++[.var-name]#++{{name}}++#++{{/if}}{{#unless @last}}, {{/unless}}{{/each}}
{{~/inline~}} {{~/inline~}}
{{#each linkable}} {{#each linkable}}
:{{name}}: pass:normal[xref:#{{anchor}}[`{{name}}`]] :{{name}}: pass:normal[xref:#{{anchor}}[`++{{name}}++`]]
{{/each}} {{/each}}
[.contract] [.contract]
[[{{anchor}}]] [[{{anchor}}]]
=== `{{name}}` === `++{{name}}++`
{{natspec.devdoc}} {{natspec.devdoc}}
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
.{{contract.name}} .{{contract.name}}
{{/unless}} {{/unless}}
{{#each modifiers}} {{#each modifiers}}
* {xref-{{slug fullName~}} }[`{{name}}({{args.names}})`] * {xref-{{slug fullName~}} }[`++{{name}}({{args.names}})++`]
{{/each}} {{/each}}
{{/each}} {{/each}}
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
.{{contract.name}} .{{contract.name}}
{{/unless}} {{/unless}}
{{#each functions}} {{#each functions}}
* {xref-{{slug fullName~}} }[`{{name}}({{args.names}})`] * {xref-{{slug fullName~}} }[`++{{name}}({{args.names}})++`]
{{/each}} {{/each}}
{{/each}} {{/each}}
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
.{{contract.name}} .{{contract.name}}
{{/unless}} {{/unless}}
{{#each events}} {{#each events}}
* {xref-{{slug fullName~}} }[`{{name}}({{args.names}})`] * {xref-{{slug fullName~}} }[`++{{name}}({{args.names}})++`]
{{/each}} {{/each}}
{{/each}} {{/each}}
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
{{#each ownModifiers}} {{#each ownModifiers}}
[.contract-item] [.contract-item]
[[{{anchor}}]] [[{{anchor}}]]
==== `{{name}}({{> typed-variable-array args}})` [.item-kind]#modifier# ==== `++{{name}}({{> typed-variable-array args}})++` [.item-kind]#modifier#
{{natspec.devdoc}} {{natspec.devdoc}}
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
{{#each ownFunctions}} {{#each ownFunctions}}
[.contract-item] [.contract-item]
[[{{anchor}}]] [[{{anchor}}]]
==== `{{name}}({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}` [.item-kind]#{{visibility}}# ==== `++{{name}}({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}++` [.item-kind]#{{visibility}}#
{{natspec.devdoc}} {{natspec.devdoc}}
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
{{#each ownEvents}} {{#each ownEvents}}
[.contract-item] [.contract-item]
[[{{anchor}}]] [[{{anchor}}]]
==== `{{name}}({{> typed-variable-array args}})` [.item-kind]#event# ==== `++{{name}}({{> typed-variable-array args}})++` [.item-kind]#event#
{{natspec.devdoc}} {{natspec.devdoc}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment