---
title: pathRoute
description: >-
  The route a note's filename asks for: `people/Ada Lovelace.md` →
  `people/ada-lovelace`, `Guides/Guides.md` → `guides`.
updated_at: '2026-11-26T00:52:14+01:00'
created_at: '2026-09-24T06:20:55+02:00'
symbol:
  kind: function
  name: pathRoute
  signatures:
    - 'pathRoute(path: string): string'
  parameters:
    - name: path
      type: string
  returns:
    type: string
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/internal/routes.ts#L41
---

# pathRoute
