for docs, normalize on space after code fence when specifying lang
This commit is contained in:
parent
27c421775e
commit
444bc466b0
|
@ -2412,7 +2412,7 @@ en:
|
||||||
This post was flagged by the community and a staff member opted to remove it.
|
This post was flagged by the community and a staff member opted to remove it.
|
||||||
|
|
||||||
[details="Click to expand removed post"]
|
[details="Click to expand removed post"]
|
||||||
```markdown
|
``` markdown
|
||||||
%{flagged_post_raw_content}
|
%{flagged_post_raw_content}
|
||||||
```
|
```
|
||||||
[/details]
|
[/details]
|
||||||
|
@ -2473,7 +2473,7 @@ en:
|
||||||
|
|
||||||
Here's the log:
|
Here's the log:
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
%{logs}
|
%{logs}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2485,7 +2485,7 @@ en:
|
||||||
|
|
||||||
Here's the log:
|
Here's the log:
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
%{logs}
|
%{logs}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2497,7 +2497,7 @@ en:
|
||||||
|
|
||||||
Here's the log:
|
Here's the log:
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
%{logs}
|
%{logs}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2509,7 +2509,7 @@ en:
|
||||||
|
|
||||||
Here's the log:
|
Here's the log:
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
%{logs}
|
%{logs}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2526,7 +2526,7 @@ en:
|
||||||
|
|
||||||
Here's the log:
|
Here's the log:
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
%{logs}
|
%{logs}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2771,7 +2771,7 @@ en:
|
||||||
|
|
||||||
### Details
|
### Details
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
%{raw}
|
%{raw}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ You will get email reminders as new versions of Discourse are released. Please s
|
||||||
|
|
||||||
The `launcher` command in the `/var/discourse` folder can be used for various kinds of maintenance:
|
The `launcher` command in the `/var/discourse` folder can be used for various kinds of maintenance:
|
||||||
|
|
||||||
```
|
``` text
|
||||||
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
|
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
|
||||||
Commands:
|
Commands:
|
||||||
start: Start/initialize a container
|
start: Start/initialize a container
|
||||||
|
|
|
@ -47,7 +47,7 @@ reaching out to the community for help:
|
||||||
|
|
||||||
9. Are you having problems bundling:
|
9. Are you having problems bundling:
|
||||||
|
|
||||||
```
|
``` text
|
||||||
ArgumentError: invalid byte sequence in US-ASCII
|
ArgumentError: invalid byte sequence in US-ASCII
|
||||||
An error occurred while installing active_model_serializers (0.7.0), and Bundler cannot continue.
|
An error occurred while installing active_model_serializers (0.7.0), and Bundler cannot continue.
|
||||||
Make sure that `gem install active_model_serializers -v '0.7.0'` succeeds before bundling.
|
Make sure that `gem install active_model_serializers -v '0.7.0'` succeeds before bundling.
|
||||||
|
@ -55,14 +55,14 @@ Make sure that `gem install active_model_serializers -v '0.7.0'` succeeds before
|
||||||
|
|
||||||
Try this in console:
|
Try this in console:
|
||||||
|
|
||||||
```
|
``` text
|
||||||
$ export LANG="en_US.UTF-8"
|
$ export LANG="en_US.UTF-8"
|
||||||
$ export LC_ALL="en_US.UTF-8"
|
$ export LC_ALL="en_US.UTF-8"
|
||||||
```
|
```
|
||||||
|
|
||||||
And/or this in top of `Gemfile`:
|
And/or this in top of `Gemfile`:
|
||||||
|
|
||||||
```
|
``` text
|
||||||
if RUBY_VERSION =~ /1.9/
|
if RUBY_VERSION =~ /1.9/
|
||||||
Encoding.default_external = Encoding::UTF_8
|
Encoding.default_external = Encoding::UTF_8
|
||||||
Encoding.default_internal = Encoding::UTF_8
|
Encoding.default_internal = Encoding::UTF_8
|
||||||
|
|
|
@ -9,7 +9,7 @@ NOTE: Does not work on IE9, but we don't support IE9 as of Jan 1 2016.
|
||||||
In your posts, surround text with `[details=your summary]` ... `[/details]`.
|
In your posts, surround text with `[details=your summary]` ... `[/details]`.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```
|
``` text
|
||||||
I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].
|
I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ console.log(foo(5));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
```text
|
``` text
|
||||||
var foo = function (bar) {
|
var foo = function (bar) {
|
||||||
return bar++;
|
return bar++;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue