I noticed that I can not use formatting for the code. Can someone help with the solution?
If I use Numbered list , then I can not use the formatting for the code.
Example:
Test message
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
Test message
But everything works separately.
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
gerhard
(Gerhard Schlager)
11 februari 2018 om 21:13
3
The toolbar button doesn’t use the right indentation within lists. You’ll need to do it manually.
You need to use 3 additional spaces within lists.
1. Test message
```
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
```
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
2. Test message
Which looks like this:
Test message
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
Test message
4 likes
Thanks for the answer. Now everything works perfectly.
One more question. Can I remove cyan color for java
and for 1.8-11.14.4.1577
?
1 like
gerhard
(Gerhard Schlager)
11 februari 2018 om 21:19
5
Sure. Add text
after the backticks or indent the code snippet with spaces.
```text
java -Dfile.encoding=UTF-8 -jar forge-1.8-11.14.4.1577-universal.jar
pause
```
5 likes
You may wish to learn more about Markdown formatting, see http://commonmark.org/help
2 likes
This topic was automatically closed after 2308 days. New replies are no longer allowed.