docs: Add code styling for parameter default values

This commit is contained in:
Lucas Schwiderski 2021-12-21 16:33:54 +01:00
parent 1dd1e2c994
commit 1953c97ce3
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ p.name {
font-family: monospace; font-family: monospace;
} }
kbd, p code, ol code { kbd, p code, ol code, ul code {
background-color: #eaedf587; background-color: #eaedf587;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 3px;

View File

@ -395,7 +395,7 @@
# if def == true then # if def == true then
(<em>optional</em>) (<em>optional</em>)
# elseif def then # elseif def then
(<em>default</em> $(def)) (<em>default</em> <code>$(def)</code>)
# end # end
# if item:readonly(p) then # if item:readonly(p) then
<em>readonly</em> <em>readonly</em>