fix error
This commit is contained in:
parent
b78476b310
commit
bac5cb4d5a
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ Within Markdown, you can use HTML code to change the visual style. For example,
|
|||
|
||||
If you want to include a Markdown symbol as plain text, without triggering any formatting, use `\` before it. I did this with the example above, which originally looks like this: `\<\!\-\-more\-\-\>`.
|
||||
|
||||
When linking to another post, I prefer using absolute paths relative to the `content` folder. For example, if I want to link to a post in `content/page/Archives`, I’d write it [like this]({{< ref "/page/Архивы" >}}), which in Markdown looks \[like this\]\(\{\{\< ref "/page/Archives" \>\}\}\). This will work even if there are multiple `.md` files in the `Archives` folder for different languages. It will redirect to the page matching the user’s selected language.
|
||||
When linking to another post, I prefer using absolute paths relative to the `content` folder. For example, if I want to link to a post in `content/page/Archives`, I’d write it [like this]({{< ref "/page/Archives" >}}), which in Markdown looks \[like this\]\(\{\{\< ref "/page/Archives" \>\}\}\). This will work even if there are multiple `.md` files in the `Archives` folder for different languages. It will redirect to the page matching the user’s selected language.
|
||||
|
||||
A text divider, like the one below, is written as `---` on a new line, with empty lines above and below it.
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ math: true
|
|||
|
||||
Если символ используется для markdown, но его хочется написать как есть, без использования в форматировании текста, то надо использовать `\` перед ним. Я так поступил с примером выше, который изначально выглядит так: `\<\!\-\-more\-\-\>`.
|
||||
|
||||
Чтоб оставить ссылку на другой пост, я предпочитаю пользоваться абсолютными путями относительно каталога `content`. Например, если я хочу ссылаться на пост, который находится в `content/page/Archives`, то мне надо написать [так]({{< ref "/page/Archives" >}}), что в markdown будет выглядеть \[так\]\(\{\{\< ref "/page/Архивы" \>\}\}\). Оно будет работать даже в том случае, если в каталоге `Архивы` будет находиться несколько `.md` файлов для разных языков. Он отправит на ту страницу, язык которой выбран у пользователя в настройках.
|
||||
Чтоб оставить ссылку на другой пост, я предпочитаю пользоваться абсолютными путями относительно каталога `content`. Например, если я хочу ссылаться на пост, который находится в `content/page/Archives`, то мне надо написать [так]({{< ref "/page/Archives" >}}), что в markdown будет выглядеть \[так\]\(\{\{\< ref "/page/Archives" \>\}\}\). Оно будет работать даже в том случае, если в каталоге `Архивы` будет находиться несколько `.md` файлов для разных языков. Он отправит на ту страницу, язык которой выбран у пользователя в настройках.
|
||||
|
||||
|
||||
Разделитель текста, который используется внизу, пишется через `---` с новой строки. Над и под ним строки должны быть пустыми.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue