Skip to content

Commit

Permalink
fix: replace space with underscore for ignore docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elsapet committed Aug 21, 2023
1 parent 4b2f6a1 commit 3b5b069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/commands.njk
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Bearer CLI offers a number of commands to use and customize the CLI to your need
<ul>
{% for item in items %}
<li>
<a href="#{{ item.name | trim}}">{{ item.name | trim}}</a>: {{item.synopsis}}
<a href="#{{ item.name | trim | replace(" ", "_") }}">{{ item.name | trim}}</a>: {{item.synopsis}}
</li>
{% endfor %}
</ul>

{% for item in items %}
<h2 class="inline-block text-neutral-100 bg-code p-1 rounded-md leading-none font-mono" id="{{ item.name | trim | e}}">bearer {{ item.name | trim | escape }}</h2>
<h2 class="inline-block text-neutral-100 bg-code p-1 rounded-md leading-none font-mono" id="{{ item.name | trim | e | replace(" ", "_")}}">bearer {{ item.name | trim | escape }}</h2>

<p>{{item.synopsis}}</p>

Expand Down

0 comments on commit 3b5b069

Please sign in to comment.