Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Fix code block indention in markdown instruction tabs.

Lauryn Menarde4166af6176d
diff --git a/help/code-blocks.md b/help/code-blocks.md
index 013568ccf13..ccf858c185e 100644
--- a/help/code-blocks.md
+++ b/help/code-blocks.md
@@ -38,28 +38,26 @@ formatting:
{!start-composing.md!}
-1. To create an inline code span, use single backticks around the text:
+1. To create an inline code span, use single backticks around the text:
-~~~
-`text`
-~~~
- To create a code block, use triple backticks around the text:
-~~~
-```
-def f(x):
- return x+1
-```
-~~~
- To enable syntax highlighting, use triple backticks followed by one or more
- letters, and select the desired programming language from the auto-complete
- suggestions.
-~~~
-```python
-def fib(n):
- # TODO: base case
- return fib(n-1) + fib(n-2)
-```
-~~~
+ `text`
+
+ To create a code block, use triple backticks around the text:
+
+ ```
+ def f(x):
+ return x+1
+ ```
+
+ To enable syntax highlighting, use triple backticks followed by one or more
+ letters, and select the desired programming language from the auto-complete
+ suggestions.
+
+ ```python
+ def fib(n):
+ # TODO: base case
+ return fib(n-1) + fib(n-2)
+ ```
!!! tip ""
diff --git a/help/format-a-quote.md b/help/format-a-quote.md
index c1a03dacb4f..a81ef3dca27 100644
--- a/help/format-a-quote.md
+++ b/help/format-a-quote.md
@@ -24,21 +24,19 @@
{!start-composing.md!}
-1. To create a multi-line quote, type `>` followed by a space and some text:
-
-~~~
-> a multi-line
-quote on two lines
-~~~
- To create a multi-paragraph quote, use triple backticks and the word quote
- (````quote`) followed by some text and triple backticks at the end:
-~~~
-```quote
-A multi-paragraph
-
-quote in two paragraphs
-```
-~~~
+1. To create a multi-line quote, type `>` followed by a space and some text:
+
+ > a multi-line
+ quote on two lines
+
+ To create a multi-paragraph quote, use triple backticks and the word quote
+ (````quote`) followed by some text and triple backticks at the end:
+
+ ```quote
+ A multi-paragraph
+
+ quote in two paragraphs
+ ```
{end_tabs}
diff --git a/help/latex.md b/help/latex.md
index 0e7cfb8574a..2a879c14e5c 100644
--- a/help/latex.md
+++ b/help/latex.md
@@ -34,18 +34,16 @@ formatting:
{!start-composing.md!}
-1. To use inline LaTeX, use double dollar signs (`$$`) around the text:
-
-~~~
-$$O(n^2)$$
-~~~
- To use displayed LaTeX, use triple backticks and the word math
- (````math`) followed by some text and triple backticks at the end:
-~~~
-``` math
-\int_a^b f(t)\, dt = F(b) - F(a)
-```
-~~~
+1. To use inline LaTeX, use double dollar signs (`$$`) around the text:
+
+ $$O(n^2)$$
+
+ To use displayed LaTeX, use triple backticks and the word math
+ (````math`) followed by some text and triple backticks at the end:
+
+ ``` math
+ \int_a^b f(t)\, dt = F(b) - F(a)
+ ```
{end_tabs}
diff --git a/help/spoilers.md b/help/spoilers.md
index f4dfc16f01f..953220b610e 100644
--- a/help/spoilers.md
+++ b/help/spoilers.md
@@ -27,14 +27,13 @@
{!start-composing.md!}
-1. To create a spoiler section, use triple backticks and the word spoiler
- (````spoiler`) followed by an optional spoiler heading, some text, and triple
- backticks at the end:
-~~~
-```spoiler The spoiler heading
-This content is initially hidden.
-```
-~~~
+1. To create a spoiler section, use triple backticks and the word spoiler
+ (````spoiler`) followed by an optional spoiler heading, some text, and triple
+ backticks at the end:
+
+ ```spoiler The spoiler heading
+ This content is initially hidden.
+ ```
!!! tip ""