Skip to content

Commit

Permalink
Deployed 743d6fc with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
amterp committed Dec 21, 2024
1 parent 7e10184 commit b9fa27e
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 16 deletions.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,46 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://amterp.github.io/rad/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/args/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/assignment/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/defer/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/functions/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/introduction/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/logic/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/rad-blocks/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/shell-commands/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/strings/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
<url>
<loc>https://amterp.github.io/rad/reference/ref-functions/</loc>
<lastmod>2024-12-18</lastmod>
<lastmod>2024-12-21</lastmod>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.
48 changes: 44 additions & 4 deletions strings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#formatting" class="md-nav__link">
<span class="md-ellipsis">
Formatting
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -661,6 +670,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#formatting" class="md-nav__link">
<span class="md-ellipsis">
Formatting
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -713,17 +731,39 @@ <h3 id="backticks">Backticks<a class="headerlink" href="#backticks" title="Perma
<h2 id="string-attributes">String Attributes<a class="headerlink" href="#string-attributes" title="Permanent link">&para;</a></h2>
<ul>
<li>Not all strings are just plain text. They may have attributes such as color.</li>
<li>This means that RSL contains logic on how to handle attributes when strings are combined or operated on</li>
<li>This means that RSL contains logic on how to handle attributes when strings are combined or operated on<ul>
<li>e.g. concatenation, slicing, replace functions, etc</li>
<li>The following operations maintain color attributes:</li>
</ul>
</li>
<li>The following operations maintain color attributes:<ul>
<li>concatenation</li>
<li>index lookup</li>
<li>The following <em>do not</em>, and just return a plain string:</li>
</ul>
</li>
<li>The following <em>do not</em>, and just return a plain string:<ul>
<li>slicing (to be added)</li>
<li>functions: <code>replace</code>, <code>split</code></li>
<li>Attributes do <em>not</em> impact things like equality or comparing strings.</li>
</ul>
</li>
<li>Attributes do <em>not</em> impact things like equality or comparing strings.<ul>
<li>A green string "Alice" and a yellow string "Alice" will be considered 'equal'.</li>
</ul>
</li>
</ul>
<h2 id="formatting">Formatting<a class="headerlink" href="#formatting" title="Permanent link">&para;</a></h2>
<ul>
<li>Float formatting does <em>not</em> require a <code>f</code> at the end.<ul>
<li>Correct: <code>{myFloat:.2}</code></li>
<li>Incorrect: <code>{myFloat:.2f}</code></li>
</ul>
</li>
</ul>
<p>Examples:</p>
<div class="highlight"><pre><span></span><code><span class="s">&quot;{myString:20}&quot;</span>
<span class="s">&quot;{myString:&lt;20}&quot;</span>
<span class="s">&quot;{myString:&gt;20}&quot;</span>
<span class="s">&quot;{myFloat:.2}&quot;</span>
</code></pre></div>



Expand Down

0 comments on commit b9fa27e

Please sign in to comment.