From 756c83aad8ee4e0bfc3df6725c22b4bd01b85c91 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 26 Feb 2020 03:22:25 +0300 Subject: [PATCH] Fix docs style (#2322) --- .github/ISSUE_TEMPLATE/bug.md | 6 +++--- .../templates/classic/docs/doc1.md | 20 +++++-------------- .../templates/facebook/docs/doc1.md | 20 +++++-------------- 3 files changed, 13 insertions(+), 33 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 40be425234..762a7816f9 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -45,9 +45,9 @@ labels: 'bug, needs triage' -* Docusaurus version used: -* Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): -* Operating system and version (desktop or mobile): +- Docusaurus version used: +- Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): +- Operating system and version (desktop or mobile): ## Reproducible Demo diff --git a/packages/docusaurus-init/templates/classic/docs/doc1.md b/packages/docusaurus-init/templates/classic/docs/doc1.md index 48725596c1..f10ecf0955 100644 --- a/packages/docusaurus-init/templates/classic/docs/doc1.md +++ b/packages/docusaurus-init/templates/classic/docs/doc1.md @@ -171,22 +171,12 @@ This line is also a separate paragraph, but... This line is only separated by a ## Admonitions -:::note -This is a note -::: +:::note This is a note ::: -:::tip -This is a tip -::: +:::tip This is a tip ::: -:::important -This is important -::: +:::important This is important ::: -:::caution -This is a caution -::: +:::caution This is a caution ::: -:::warning -This is a warning -::: +:::warning This is a warning ::: diff --git a/packages/docusaurus-init/templates/facebook/docs/doc1.md b/packages/docusaurus-init/templates/facebook/docs/doc1.md index 4372d1d2a3..b54a5150ba 100644 --- a/packages/docusaurus-init/templates/facebook/docs/doc1.md +++ b/packages/docusaurus-init/templates/facebook/docs/doc1.md @@ -171,22 +171,12 @@ This line is also a separate paragraph, but... This line is only separated by a ## Admonitions -:::note -This is a note -::: +:::note This is a note ::: -:::tip -This is a tip -::: +:::tip This is a tip ::: -:::important -This is important -::: +:::important This is important ::: -:::caution -This is a caution -::: +:::caution This is a caution ::: -:::warning -This is a warning -::: +:::warning This is a warning :::