Home Explore Blog CI



nushell

commands/categories/math.md
f3651f03facf5d3509ea665987c31631a45221cb3574dcbb00000003000002e2
---
editLink: false
contributors: false
---

# Math

<script>
  import pages from '@temp/pages'
  export default {
    computed: {
      commands() {
        return pages
          .filter(p => p.path.includes('/commands/docs/'))
          .filter(p => p.frontmatter.categories.includes('math'))
          .sort((a,b) => (a.title > b.title) ? 1 : ((b.title > a.title) ? -1 : 0));
      }
    }
  }
</script>

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr v-for="command in commands">
       <td><a :href="$withBase(command.path)">{{ command.title }}</a></td>
       <td style="white-space: pre-wrap;">{{ command.frontmatter.usage }}</td>
    </tr>
  </tbody>
</table>

Chunks
7150a615 (1st chunk of `commands/categories/math.md`)
Title: Math Commands
Summary
This section lists available math commands with their descriptions. It dynamically generates a table by filtering and sorting pages under '/commands/docs/' that are categorized as 'math'. The table displays the command name as a link and its usage information.