You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-5Lines changed: 35 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,15 +104,31 @@ There are a handful of Hugo shortcodes that can be used to make developing docum
104
104
105
105
Shortcodes are written in the `{{< SHORTCODE >}}` syntax. However there may be some cases where you need to use a particular shortcode inside an automatically-generated heading. For these, you will need to use the `{{% SHORTCODE %}}` syntax.
106
106
107
+
Some shortcodes take arguments which can be used to customize their content or appearance.
108
+
Depending on how the shortcode is set up, arguments may either be relative (specified one after each other, in order), or named.
109
+
Named arguments are useful for clarity, or if you only wish to specify some arguments to the shortcode, not all.
110
+
In a single shortcode, you cannot mix and match relative and named arguments.
{{< alert context="CONTEXT" text="This is an example alert." >}}
112
129
```
113
-
The above shortcode uses a simple string to create the alert.
114
-
115
-
The following contexts are supported:
130
+
The above shortcode uses a simple string to create the alert.
131
+
These alerts are styled off of the [Bootstrap Alerts](https://getbootstrap.com/docs/5.3/components/alerts/), and the following contexts are supported:
116
132
* primary
117
133
* info
118
134
* success
@@ -140,14 +156,27 @@ A carousel is a slideshow for cycling through a series of images. List the image
140
156
```
141
157
142
158
#### Details
143
-
This shortcode is simply a wrapper for the HTML [details element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/details). Specify the summary text and optionally choose whether to have the element open by default instead of closed.
159
+
This shortcode is simply a wrapper for the HTML [details element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/details).
160
+
Specify the summary text.
161
+
Optionally choose whether to show a badge (currently `deprecated` and `legacy` are supported), and whether to have the element open by default instead of closed.
144
162
145
163
```
146
164
{{< details "Summary text" >}}
147
165
Content goes here. This will be hidden until the user clicks to expand.
148
166
{{< /details >}}
149
167
150
-
{{< details "Summary text" "open" >}}
168
+
{{< details "Summary text" "deprecated" >}}
169
+
Content goes here. This will be hidden until the user clicks to expand.
Copy file name to clipboardExpand all lines: content/docs/feature-guides/automata-plugins/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The Automata Plugins are also referred as **Automata Controllers**, in the sense
16
16
17
17
## Automata Options
18
18
The Network Addon Mod provides a variety Automata Controllers to choose from, and each of them made from a combination of options which affect automata in a slightly different way. The two base options are:
19
-
***Standard** - Maintains the default Maxis values for the quantity of automata and speed they visually travel over a network. The only exception is for the [RealHighway](/docs/feature-guides/realhighway-mod) network, which has had its speed increased to give more of an accurate representation of the speed the vehicles traveling at on a highway network.
19
+
***Standard** - Maintains the default Maxis values for the quantity of automata and speed they visually travel over a network. The only exception is for the [RealHighway](/docs/feature-guides/realhighway) network, which has had its speed increased to give more of an accurate representation of the speed the vehicles traveling at on a highway network.
20
20
21
21
***Radical** - Increases the speed of automata travel and the maximum amount of automata able to be visible at a given time.
0 commit comments