Skip to content

Instantly share code, notes, and snippets.

@Kwpolska
Created June 23, 2016 11:02
Show Gist options
  • Save Kwpolska/a2d4268a08b60df895180f5aa6fd5513 to your computer and use it in GitHub Desktop.
Save Kwpolska/a2d4268a08b60df895180f5aa6fd5513 to your computer and use it in GitHub Desktop.
rst2html5 tab issue
N. <raw format="html" xml:space="preserve"><pre class="code bash"><a name="rest_code_d86c70c19454410b923d46ffb81e8c5f-1"></a>sudo vim /etc/lightdm/lightdm-gtk-greeter.conf
</pre></raw>
N. <raw format="html" xml:space="preserve"><pre class="code ini"><a name="rest_code_485b10953d80423e9d1e89fb6aae9041-1"></a><span class="k">[base]</span>
<a name="rest_code_485b10953d80423e9d1e89fb6aae9041-2"></a><span class="na">session</span><span class="o">=</span><span class="s">/usr/bin/startlxde</span>
<a name="rest_code_485b10953d80423e9d1e89fb6aae9041-3"></a><span class="err">...</span>
<a name="rest_code_485b10953d80423e9d1e89fb6aae9041-4"></a><span class="k">[userlist]</span>
<a name="rest_code_485b10953d80423e9d1e89fb6aae9041-5"></a><span class="na">disable</span><span class="o">=</span><span class="s">1</span>
</pre></raw>
N. <raw format="html" xml:space="preserve"><pre class="code python"><a name="rest_code_3c1e76e33f5947f39f83e81945e24503-1"></a><span class="n">foo</span>
<a name="rest_code_3c1e76e33f5947f39f83e81945e24503-2"></a><span class="n">bar</span>
<a name="rest_code_3c1e76e33f5947f39f83e81945e24503-3"></a> <span class="n">baz</span>
<a name="rest_code_3c1e76e33f5947f39f83e81945e24503-4"></a><span class="n">foobar</span>
<a name="rest_code_3c1e76e33f5947f39f83e81945e24503-5"></a> <span class="n">foobaz</span>
</pre></raw>
<literal_block classes="code bash" xml:space="preserve">sudo vim /etc/lightdm/lightdm-gtk-greeter.conf</literal_block>
<literal_block classes="code ini" xml:space="preserve"><inline classes="k">[base]</inline>
<inline classes="na">session</inline><inline classes="o">=</inline><inline classes="s">/usr/bin/startlxde</inline>
<inline classes="err">...</inline>
<inline classes="k">[userlist]</inline>
<inline classes="na">disable</inline><inline classes="o">=</inline><inline classes="s">1</inline></literal_block>
<literal_block classes="code python" xml:space="preserve"><inline classes="n">foo</inline>
<inline classes="n">bar</inline>
<inline classes="n">baz</inline>
<inline classes="n">foobar</inline>
<inline classes="n">foobaz</inline></literal_block>

Paragraph 1 .. TEASER_END

Section 1

Intro text.

sudo vim /etc/lightdm/lightdm-gtk-greeter.conf

In another file:

[base]
session=/usr/bin/startlxde
...
[userlist]
disable=1

Tab example:

foo
bar
             baz (this indented with 3 spaces and 2 tabs)
foobar
    foobaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment