如何在需要从最左边距开始的构造之后继续 numbered/bulletted 列表
How to continue numbered/bulletted lists after a construct that requires starting leftmost margin
我不确定如何处理以下混合 code/list 构造:
注意:假设下面的 2 个反引号实际上是 3 个正确的围栏代码块..)
``java
startHttpServer();
System.out.println(
"Http Server Listening on " + SConstants.HTTP_PORT + SConstants.HTTP_PROJECT_NAME);
``
@ Logging level can be calibrated by simple change(s) to logging.xml and/or log4j.properties
- _Comments_: this seems to be mostly in place
@ Errors and exceptions go to appropriate WARN and/or ERROR logging levels
结果如下:注意以 开头的代码栏之后的所有内容都因不正确的字体、缩进和丢失编号而失真:
同样的问题出现在任何需要最左边边距的结构上:
- 代码围栏
- 图像和链接
应如何重组此文档部分以保留包含代码栏、url 和图像的能力,同时又不影响编号、字体和缩进?
顺便说一句,我是 运行 markdown
到 pandoc
:不确定后者是否参与导致问题,或者这是本机 markdown
问题。
更新 这是有效的最终版本:在@eskwaryd
已接受答案的帮助下
1. Code Behaviors
1. Logging
@. No "bare" `System.out.println` 's
_Comments_: _Many_ of these exist. Here is a partial list
Here is one code example
``java
startHttpServer();
System.out.println(
"Http Server Listening on " + SparcleConstants.HTTP_PORT + SparcleConstants.HTTP_PROJECT_NAME);
``
@. Logging level can be calibrated by simple change(s) to logging.xml and/or log4j.properties
- _Comments_: this seems to be mostly in place
@. Errors and exceptions go to appropriate WARN and/or ERROR logging levels
- _Comments_: Exceptions and errors may be swallowed: this is an exposure
缩进代码块以匹配列表项的缩进。例如:
1. Section one
1. Item One
```java
code goes here...
```
2. Item two
3. Item three
2. Section two
结果:
第一节
项目一
code goes here...
项目二
项目三
第二节
我不确定如何处理以下混合 code/list 构造:
注意:假设下面的 2 个反引号实际上是 3 个正确的围栏代码块..)
``java
startHttpServer();
System.out.println(
"Http Server Listening on " + SConstants.HTTP_PORT + SConstants.HTTP_PROJECT_NAME);
``
@ Logging level can be calibrated by simple change(s) to logging.xml and/or log4j.properties
- _Comments_: this seems to be mostly in place
@ Errors and exceptions go to appropriate WARN and/or ERROR logging levels
结果如下:注意以 开头的代码栏之后的所有内容都因不正确的字体、缩进和丢失编号而失真:
同样的问题出现在任何需要最左边边距的结构上:
- 代码围栏
- 图像和链接
应如何重组此文档部分以保留包含代码栏、url 和图像的能力,同时又不影响编号、字体和缩进?
顺便说一句,我是 运行 markdown
到 pandoc
:不确定后者是否参与导致问题,或者这是本机 markdown
问题。
更新 这是有效的最终版本:在@eskwaryd
已接受答案的帮助下1. Code Behaviors
1. Logging
@. No "bare" `System.out.println` 's
_Comments_: _Many_ of these exist. Here is a partial list
Here is one code example
``java
startHttpServer();
System.out.println(
"Http Server Listening on " + SparcleConstants.HTTP_PORT + SparcleConstants.HTTP_PROJECT_NAME);
``
@. Logging level can be calibrated by simple change(s) to logging.xml and/or log4j.properties
- _Comments_: this seems to be mostly in place
@. Errors and exceptions go to appropriate WARN and/or ERROR logging levels
- _Comments_: Exceptions and errors may be swallowed: this is an exposure
缩进代码块以匹配列表项的缩进。例如:
1. Section one
1. Item One
```java
code goes here...
```
2. Item two
3. Item three
2. Section two
结果:
第一节
项目一
code goes here...
项目二
项目三
第二节