我想要以下视觉格式:
1. Install Miniconda for Python 3.6 from https://conda.io/miniconda.html
2. Open a command prompt
3. Type *conda install numpy*
4. Type *conda install pyopengl*
5. Type *python -m pip install simpylc*
6. Install freeglut as explained on http://freeglut.sourceforge.net/index.php#download
Alternatively, type:
*sudo apt-get update*
*sudo apt-get install build-essential*
*sudo apt-get install freeglut3-dev*
7. Yet another item
8. And yet another
如何在不为所有“普通”列表项引入双行间距的情况下使用RST实现这一目标?
答案 0 :(得分:0)
我建议您使用rst2html5代替docutils。
您的清单:
const mainBg = {
width: '100%',
height: '100vh',
'background-image': `url("../img/background.jpg")`,
'background-position': 'center',
'background-repeat': 'no-repeat',
'background-attachment': 'fixed',
'background-size': 'cover',
};
for (const declaration in mainBg) {
document.body.attributeStyleMap.set(declaration, mainBg[declaration]);
console.log('<body> has the declaration: ' + declaration + ': ' + mainBg[declaration] + ';');
}
结果将是:
1. Install Miniconda for Python 3.6 from https://conda.io/miniconda.html
2. Open a command prompt
3. Type :code:`conda install numpy`
4. Type :code:`conda install pyopengl`
5. Type :code:`python -m pip install simpylc`
6. Install freeglut as explained on http://freeglut.sourceforge.net/index.php#download Alternatively, type::
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install freeglut3-dev
7. Yet another item
8. And yet another