Skip to content

Commit

Permalink
deploy: 084a2d2
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Nov 17, 2024
1 parent 0b1efef commit e11c371
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
16 changes: 16 additions & 0 deletions man/en/functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,22 @@ <h4 id="semantic-versions"><a class="header" href="#semantic-versions">Semantic
<code>requirement</code>, e.g., <code>"&gt;=0.1.0"</code>, returning <code>"true"</code> if so and <code>"false"</code>
otherwise.</li>
</ul>
<h4 id="style"><a class="header" href="#style">Style</a></h4>
<ul>
<li>
<p><code>style(name)</code><sup>master</sup> - Return a named terminal display attribute
escape sequence used by <code>just</code>. Unlike terminal display attribute escape
sequence constants, which contain standard colors and styles, <code>style(name)</code>
returns an escape sequence used by <code>just</code> itself, and can be used to make
recipe output match <code>just</code>’s own output.</p>
<p>Recognized values for <code>name</code> are <code>'command'</code>, for echoed recipe lines,
<code>error</code>, and <code>warning</code>.</p>
<p>For example, to style an error message:</p>
<pre><code class="language-just">scary:
@echo '{{ style("error") }}OH NO{{ NORMAL }}'
</code></pre>
</li>
</ul>
<h5 id="xdg-directories1230"><a class="header" href="#xdg-directories1230">XDG Directories<sup>1.23.0</sup></a></h5>
<p>These functions return paths to user-specific directories for things like
configuration, data, caches, executables, and the user’s home directory. These
Expand Down
16 changes: 16 additions & 0 deletions man/en/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1572,6 +1572,22 @@ <h4 id="semantic-versions"><a class="header" href="#semantic-versions">Semantic
<code>requirement</code>, e.g., <code>"&gt;=0.1.0"</code>, returning <code>"true"</code> if so and <code>"false"</code>
otherwise.</li>
</ul>
<h4 id="style"><a class="header" href="#style">Style</a></h4>
<ul>
<li>
<p><code>style(name)</code><sup>master</sup> - Return a named terminal display attribute
escape sequence used by <code>just</code>. Unlike terminal display attribute escape
sequence constants, which contain standard colors and styles, <code>style(name)</code>
returns an escape sequence used by <code>just</code> itself, and can be used to make
recipe output match <code>just</code>’s own output.</p>
<p>Recognized values for <code>name</code> are <code>'command'</code>, for echoed recipe lines,
<code>error</code>, and <code>warning</code>.</p>
<p>For example, to style an error message:</p>
<pre><code class="language-just">scary:
@echo '{{ style("error") }}OH NO{{ NORMAL }}'
</code></pre>
</li>
</ul>
<h5 id="xdg-directories1230"><a class="header" href="#xdg-directories1230">XDG Directories<sup>1.23.0</sup></a></h5>
<p>These functions return paths to user-specific directories for things like
configuration, data, caches, executables, and the user’s home directory. These
Expand Down
2 changes: 1 addition & 1 deletion man/en/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion man/en/searchindex.json

Large diffs are not rendered by default.

0 comments on commit e11c371

Please sign in to comment.