From d082d0e25d2883245c19e17e232ad5b83fbd8d5c Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Mon, 22 Mar 2021 17:51:46 +0800 Subject: [PATCH] docs: fix markdown --- docs/Methods.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/Methods.md b/docs/Methods.md index fa4a266..e04e876 100644 --- a/docs/Methods.md +++ b/docs/Methods.md @@ -88,7 +88,7 @@ init({ #### `getLocaleFromHostname` -> `import { getLocaleFromHostname } from 'svelte-i18n' +> `import { getLocaleFromHostname } from 'svelte-i18n'` `getLocaleFromHostname(hostnamePattern: RegExp): string` Utility method to help getting a initial locale based on a pattern of the current `hostname`. @@ -107,7 +107,7 @@ init({ #### `getLocaleFromPathname` -> `import { getLocaleFromPathname } from 'svelte-i18n' +> `import { getLocaleFromPathname } from 'svelte-i18n'` `getLocaleFromPathname(pathnamePattern: RegExp): string` @@ -127,7 +127,7 @@ init({ #### `getLocaleFromNavigator` -> `import { getLocaleFromNavigator } from 'svelte-i18n' +> `import { getLocaleFromNavigator } from 'svelte-i18n'` `getLocaleFromNavigator(): string` @@ -147,7 +147,7 @@ init({ #### `getLocaleFromQueryString` -> `import { getLocaleFromQueryString } from 'svelte-i18n' +> `import { getLocaleFromQueryString } from 'svelte-i18n'` `getLocaleFromQueryString(queryKey: string): string` @@ -165,7 +165,7 @@ init({ #### `getLocaleFromHash` -> `import { getLocaleFromHash } from 'svelte-i18n' +> `import { getLocaleFromHash } from 'svelte-i18n'` `getLocaleFromHash(hashKey: string): string` @@ -185,7 +185,7 @@ init({ #### `addMessages` -`import { addMessages } from 'svelte-i18n` +> `import { addMessages } from 'svelte-i18n` `addMessages(locale: string, ...dicts: Dictionary[]): void`