Skip to content

Commit

Permalink
Improve figures, add screenshot for Set Variable in Date mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fredsted committed May 18, 2024
1 parent 6e670d3 commit df62cdc
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/custom-actions/action-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,11 @@ There are three modes:
* **Random**: When using the "Random" mode, you can generate a random string for e.g. one-time identifiers and passwords.
* **Date**: Generate date strings specifying a custom input date and an output format - defaults to ISO-8601 format.

<figure markdown="span">
![Set Variable Date Mode example](/images/set-variable-date.png){ width="400" }
<figcaption>Using the Set Variable action in the Date mode to create a date string 30 days in the past</figcaption>
</figure>

### Store Global Variable

Saves (or overwrites) a Global Variable that's saved permanently and available to all URLs in your account. If you don't need to save the variable permanently, you should use the *Set Runtime Variable* instead.
Expand Down
Binary file added docs/images/set-variable-date.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,22 @@ body, input {
.md-nav__item--nested>.md-nav__link:hover {
color: #999;
}

/* Figure */

.md-typeset figure {
border: 1px solid #CCC;
border-radius: 10px;
padding-top: 1em;
padding-right: 1em;
padding-left: 1em;
}

.md-typeset figure figcaption {
opacity: 0.7;
font-size: 80%;
}

.md-typeset figure img {
display: inline;
}

0 comments on commit df62cdc

Please sign in to comment.