for docs, normalize on space after code fence when specifying lang
This commit is contained in:
parent
27c421775e
commit
444bc466b0
|
@ -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].
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue