]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: better format
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Aug 2022 08:06:28 +0000 (10:06 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Aug 2022 08:06:28 +0000 (10:06 +0200)
packages/router/src/RouterLink.ts
packages/router/src/matcher/pathParserRanker.ts

index 702efa142641055e05f46ac59dacaa23d9ebecf2..3bc133dafaa30ca635c83a8910979f88db35d0cf 100644 (file)
@@ -67,7 +67,7 @@ export interface RouterLinkProps extends RouterLinkOptions {
   /**
    * Value passed to the attribute `aria-current` when the link is exact active.
    *
-   * @defaultValue 'page'
+   * @defaultValue `'page'`
    */
   ariaCurrentValue?:
     | 'page'
index 5c8e0757902a256cdc3da343b79f447afe4af837..670013794bbf1b1645a4e7abfac265cb37b7a250 100644 (file)
@@ -54,14 +54,14 @@ export interface _PathParserOptions {
   /**
    * Makes the RegExp case-sensitive.
    *
-   * @defaultValue false
+   * @defaultValue `false`
    */
   sensitive?: boolean
 
   /**
    * Whether to disallow a trailing slash or not.
    *
-   * @defaultValue false
+   * @defaultValue `false`
    */
   strict?: boolean
 
@@ -69,14 +69,14 @@ export interface _PathParserOptions {
    * Should the RegExp match from the beginning by prepending a `^` to it.
    * @internal
    *
-   * @defaultValue true
+   * @defaultValue `true`
    */
   start?: boolean
 
   /**
    * Should the RegExp match until the end by appending a `$` to it.
    *
-   * @defaultValue true
+   * @defaultValue `true`
    */
   end?: boolean
 }